1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

clear bow memory

This commit is contained in:
Zeno Rogue 2023-10-29 10:14:18 +01:00
parent 858db697d8
commit f76ccef90f

View File

@ -1783,6 +1783,9 @@ auto cgm = addHook(hooks_clearmemory, 40, [] () {
rosemap.clear();
hv_land.clear();
hv_last_land.clear();
bow::bowpath.clear();
bow::clear_bowpath();
bow::fire_mode = false;
for(auto &am: adj_memo) am.clear();
}) +
addHook(hooks_gamedata, 0, [] (gamedata* gd) {