From f76ccef90f64ba5022bb885469da444333001ff5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 29 Oct 2023 10:14:18 +0100 Subject: [PATCH] clear bow memory --- system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system.cpp b/system.cpp index 6c094ef2..2f683303 100644 --- a/system.cpp +++ b/system.cpp @@ -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) {