mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-28 22:37:03 +00:00
do not create a new model in generate_floorshapes() bitrunc
This commit is contained in:
parent
a225ace0d0
commit
bb00e47ce5
@ -771,7 +771,9 @@ void geometry_information::generate_floorshapes() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
cell model;
|
static hrmap_standard stdmap;
|
||||||
|
dynamicval<hrmap*> c(currentmap, &stdmap);
|
||||||
|
// cell model;
|
||||||
model.type = S6; generate_floorshapes_for(0, &model, 0, 0);
|
model.type = S6; generate_floorshapes_for(0, &model, 0, 0);
|
||||||
model.type = S7; generate_floorshapes_for(1, &model, bt::in() ? 0 : 1, 0);
|
model.type = S7; generate_floorshapes_for(1, &model, bt::in() ? 0 : 1, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user