summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r--src/script/squirrel.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index b878c2b95..32f24cb11 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -215,6 +215,11 @@ public:
void ResetCrashed();
/**
+ * Set the AI status to crashed.
+ */
+ void CrashOccurred();
+
+ /**
* Are we allowed to suspend the squirrel script at this moment?
*/
bool CanSuspend();