mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-08 13:25:59 +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])
|
if(allmaps[i])
|
||||||
delete allmaps[i];
|
delete allmaps[i];
|
||||||
allmaps.clear();
|
allmaps.clear();
|
||||||
currentmap = nullptr;
|
currentmap = nullptr; hybrid::pmap = nullptr; fake::pmap = nullptr; gp::pmap = nullptr;
|
||||||
last_cleared = NULL;
|
last_cleared = NULL;
|
||||||
saved_distances.clear();
|
saved_distances.clear();
|
||||||
dists_computed.clear();
|
dists_computed.clear();
|
||||||
|
Reference in New Issue
Block a user