1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-19 04:18:06 +00:00

adj_memo now can keep separate memos for different rules

This commit is contained in:
Zeno Rogue
2022-05-21 17:00:16 +02:00
parent c80d6134e3
commit c9d1f8dfeb
2 changed files with 6 additions and 5 deletions

View File

@@ -1694,7 +1694,7 @@ auto cgm = addHook(hooks_clearmemory, 40, [] () {
crush_next.clear();
crush_now.clear();
rosemap.clear();
adj_memo.clear();
for(auto &am: adj_memo) am.clear();
}) +
addHook(hooks_gamedata, 0, [] (gamedata* gd) {
gd->store(pathq);