1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-21 12:43:18 +00:00

added missing need_reset_geometry in set_crystal

This commit is contained in:
Zeno Rogue 2018-12-12 02:50:32 +01:00
parent 86c9f84df8
commit 13f8205425

View File

@ -1001,6 +1001,7 @@ void set_crystal(int sides) {
set_variation(eVariation::pure);
ginf[gCrystal].sides = sides;
ginf[gCrystal].vertex = 4;
need_reset_geometry = true;
if(sides < MAX_EDGE)
ginf[gCrystal].distlimit = distlimit_table[sides];
}