1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +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(); rosemap.clear();
hv_land.clear(); hv_land.clear();
hv_last_land.clear(); hv_last_land.clear();
bow::bowpath.clear();
bow::clear_bowpath();
bow::fire_mode = false;
for(auto &am: adj_memo) am.clear(); for(auto &am: adj_memo) am.clear();
}) + }) +
addHook(hooks_gamedata, 0, [] (gamedata* gd) { addHook(hooks_gamedata, 0, [] (gamedata* gd) {