mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
savemem:: more aggresive adj_memo clear
This commit is contained in:
parent
c5650e4e46
commit
894ee3ad8e
@ -3508,7 +3508,7 @@ auto ccm = addHook(hooks_clearmemory, 0, [] () {
|
||||
}) +
|
||||
addHook(hooks_removecells, 0, [] () {
|
||||
for(cell *c: removed_cells) clearing::score.erase(c);
|
||||
for(auto& am: adj_memo) for(cell *c: removed_cells) am.erase(c);
|
||||
for(auto& am: adj_memo) am.clear();
|
||||
eliminate_if(heat::offscreen_heat, is_cell_removed);
|
||||
eliminate_if(heat::offscreen_fire, is_cell_removed);
|
||||
eliminate_if(princess::infos, [] (princess::info*& i) {
|
||||
|
Loading…
Reference in New Issue
Block a user