1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 03:27:55 +00:00

dual:: added some missing gd->store's

This commit is contained in:
Zeno Rogue
2019-05-30 16:12:38 +02:00
parent 31bb896089
commit a49de4530f
7 changed files with 31 additions and 6 deletions

View File

@@ -244,7 +244,13 @@ auto ccm_blizzard = addHook(clearmemory, 0, [] () {
blizzardcells.clear();
bcells.clear();
}) +
addHook(hooks_removecells, 0, [] () {
+ addHook(hooks_gamedata, 0, [] (gamedata* gd) {
gd->store(arrowtraps);
gd->store(blizzardcells);
gd->store(bcells);
gd->store(blizzard_N);
})
+ addHook(hooks_removecells, 0, [] () {
eliminate_if(arrowtraps, is_cell_removed);
});