1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-24 01:04:08 +00:00

clearCellMemory now also clears the alternate maps

This commit is contained in:
Zeno Rogue 2025-04-06 09:43:40 +02:00
parent 3a24c2c468
commit 157a6cf7e7

View File

@ -1562,7 +1562,7 @@ EX void clearCellMemory() {
if(allmaps[i])
delete allmaps[i];
allmaps.clear();
currentmap = nullptr;
currentmap = nullptr; hybrid::pmap = nullptr; fake::pmap = nullptr; gp::pmap = nullptr;
last_cleared = NULL;
saved_distances.clear();
dists_computed.clear();