mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed a crash bug on loading file tessellations
This commit is contained in:
parent
d3d1d689fa
commit
e00e117278
@ -701,6 +701,11 @@ void geometry_information::generate_floorshapes() {
|
||||
mh.zebraval = i;
|
||||
auto& sh = c.shapes[i];
|
||||
ms.type = mh.type = sh.size();
|
||||
}
|
||||
for(int i=0; i<n; i++) {
|
||||
auto &ms = models[i];
|
||||
auto &mh = modelh[i];
|
||||
auto& sh = c.shapes[i];
|
||||
for(int j=0; j<sh.size(); j++) {
|
||||
auto& co = sh.connections[j];
|
||||
mh.c.connect(j, &modelh[get<0>(co)], get<1>(co), get<2>(co));
|
||||
|
Loading…
Reference in New Issue
Block a user