(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 0b749ffa66
commit 6e467e8ae0
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?
*/