diff options
author | yexo <yexo@openttd.org> | 2009-08-20 10:45:57 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-20 10:45:57 +0000 |
commit | 0cb004e1d29da1bdc78b7bff5d567ca70562f412 (patch) | |
tree | dadee01cc90a035bf658130ee0246fd4bc5f2e9f | |
parent | 14b5862c229a7003fbb0dc259386dc1153048c56 (diff) | |
download | openttd-0cb004e1d29da1bdc78b7bff5d567ca70562f412.tar.xz |
(svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed as they should
-rw-r--r-- | src/ai/ai_instance.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index 6e1ffa0c1..0562cccb8 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -606,6 +606,7 @@ void AIInstance::Save() /* The script crashed in the Save function. We can't kill * it here, but do so in the next AI tick. */ SaveEmpty(); + this->engine->CrashOccurred(); return; } AIObject::SetAllowDoCommand(backup_allow); |