Fix: Stop any gamelog action when recovering from SlError()

This commit is contained in:
glx
2020-05-10 16:04:04 +02:00
committed by Charles Pigott
parent 3ba34a72aa
commit 0ed00ae111
3 changed files with 10 additions and 0 deletions

View File

@@ -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
*/