mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 11:37:55 +00:00
clearCellMemory now also clears the alternate maps
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -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();
|
||||
|
Reference in New Issue
Block a user