diff options
author | yexo <yexo@openttd.org> | 2009-07-15 19:47:06 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-07-15 19:47:06 +0000 |
commit | f085d7775b12e77b8012ab09ae72b850367a3237 (patch) | |
tree | dcc6b0bf106aff0538a996a369c0d213834e462f /src/ai/ai_instance.hpp | |
parent | 91a6af688e0f99017dd824de6b0f1f18dbc6ef50 (diff) | |
download | openttd-f085d7775b12e77b8012ab09ae72b850367a3237.tar.xz |
(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD
Diffstat (limited to 'src/ai/ai_instance.hpp')
-rw-r--r-- | src/ai/ai_instance.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index 2730e9bd9..4c9cb69a5 100644 --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -123,6 +123,7 @@ private: bool is_started; bool is_dead; + bool is_save_data_on_stack; int suspend; AISuspendCallbackProc *callback; |