(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD

This commit is contained in:
yexo
2009-07-15 19:47:06 +00:00
parent 91a6af688e
commit f085d7775b
4 changed files with 32 additions and 24 deletions

View File

@@ -214,6 +214,11 @@ public:
*/
void ResetCrashed();
/**
* Set the AI status to crashed.
*/
void CrashOccurred();
/**
* Are we allowed to suspend the squirrel script at this moment?
*/