summaryrefslogtreecommitdiff
path: root/src/gamelog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamelog.cpp')
-rw-r--r--src/gamelog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gamelog.cpp b/src/gamelog.cpp
index b325dc7fd..156dfe628 100644
--- a/src/gamelog.cpp
+++ b/src/gamelog.cpp
@@ -87,6 +87,11 @@ void GamelogStopAction()
if (print) GamelogPrintDebug(5);
}
+void GamelogStopAnyAction()
+{
+ if (_gamelog_action_type != GLAT_NONE) GamelogStopAction();
+}
+
/**
* Frees the memory allocated by a gamelog
*/