summaryrefslogtreecommitdiff
path: root/mm/2s2h/GameInteractor/GameInteractor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mm/2s2h/GameInteractor/GameInteractor.cpp')
-rw-r--r--mm/2s2h/GameInteractor/GameInteractor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/mm/2s2h/GameInteractor/GameInteractor.cpp b/mm/2s2h/GameInteractor/GameInteractor.cpp
index 5770e84ca..25392e6d5 100644
--- a/mm/2s2h/GameInteractor/GameInteractor.cpp
+++ b/mm/2s2h/GameInteractor/GameInteractor.cpp
@@ -587,6 +587,13 @@ void ProcessEvents(Actor* actor) {
GameInteractor::Instance->events.erase(GameInteractor::Instance->events.begin());
}
+// On MSVC this is defined inline in the header instead; see the declaration for why.
+#ifndef _MSC_VER
+void GameInteractor::RemoveAllQueuedHooks() {
+#include "GameInteractor_RemoveAllQueuedHooks.inc"
+}
+#endif
+
void GameInteractor::RegisterOwnHooks() {
// Cleanup all hooks at the start of each frame
GameInteractor::Instance->RegisterGameHook<GameInteractor::OnGameStateMainStart>(