diff options
author | glx <glx@openttd.org> | 2009-01-23 15:38:13 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-01-23 15:38:13 +0000 |
commit | 4fe58bc303f980ac4328b7e376bcbc76c70005d0 (patch) | |
tree | 2606cef3f5d1fd1ddc77630982dd97e1a56c14cf | |
parent | e3cc807c7a84a174f25cfe16e565edd9f4912e5e (diff) | |
download | openttd-4fe58bc303f980ac4328b7e376bcbc76c70005d0.tar.xz |
(svn r15228) -Fix [FS#2571]: possible crash when an AI/Library doesn't have a required function
-rw-r--r-- | src/ai/ai_info.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp index 229abf64a..fc04d6180 100644 --- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -37,7 +37,7 @@ public: friend class AIInfo; friend class AILibrary; - AIFileInfo() : author(NULL), name(NULL), short_name(NULL), description(NULL), date(NULL), instance_name(NULL) {}; + AIFileInfo() : SQ_instance(NULL), main_script(NULL), author(NULL), name(NULL), short_name(NULL), description(NULL), date(NULL), instance_name(NULL) {}; ~AIFileInfo(); /** |