diff options
author | glx <glx@openttd.org> | 2009-01-21 03:47:04 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-01-21 03:47:04 +0000 |
commit | b44390bf3929a6570da11e71706965011d9b4333 (patch) | |
tree | 6e7b8fd879d4f39ca1284193bf795ed5f34f88f7 /src | |
parent | db3ee34b4468aa3448b64e339258760885c5d716 (diff) | |
download | openttd-b44390bf3929a6570da11e71706965011d9b4333.tar.xz |
(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)
Diffstat (limited to 'src')
-rw-r--r-- | src/ai/ai_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 6e501af01..0425bd4b5 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -550,7 +550,7 @@ struct AIConfigWindow : public Window { virtual void OnTick() { if (--this->timeout == 0) { - this->clicked_button = -1; + this->clicked_button = false; this->SetDirty(); } } |