1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 10:27:45 +00:00

clearing unused TriheptaSpecial shapes to fix a crash on iOS

This commit is contained in:
Zeno Rogue
2019-06-03 22:25:17 +02:00
parent db744db786
commit e61930c0b1
2 changed files with 2 additions and 1 deletions

View File

@@ -4080,6 +4080,7 @@ struct hpcshape {
basic_textureinfo *tinf;
int texture_offset;
int shs, she;
void clear() { s = e = shs = she = texture_offset = 0; prio = PPR::ZERO; tinf = NULL; flags = 0; }
};
extern vector<hpcshape> shPlainWall3D, shWireframe3D, shWall3D, shMiniWall3D;