mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
added missing need_reset_geometry in set_crystal
This commit is contained in:
parent
86c9f84df8
commit
13f8205425
@ -1001,6 +1001,7 @@ void set_crystal(int sides) {
|
|||||||
set_variation(eVariation::pure);
|
set_variation(eVariation::pure);
|
||||||
ginf[gCrystal].sides = sides;
|
ginf[gCrystal].sides = sides;
|
||||||
ginf[gCrystal].vertex = 4;
|
ginf[gCrystal].vertex = 4;
|
||||||
|
need_reset_geometry = true;
|
||||||
if(sides < MAX_EDGE)
|
if(sides < MAX_EDGE)
|
||||||
ginf[gCrystal].distlimit = distlimit_table[sides];
|
ginf[gCrystal].distlimit = distlimit_table[sides];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user