1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 09:24:48 +00:00

fixed a crash when changing to product

This commit is contained in:
Zeno Rogue 2019-11-30 19:28:28 +01:00
parent 31f6f28012
commit f243b61d72

View File

@ -1109,6 +1109,7 @@ EX void clearCellMemory() {
if(allmaps[i])
delete allmaps[i];
allmaps.clear();
currentmap = nullptr;
last_cleared = NULL;
saved_distances.clear();
dists_computed.clear();