From e30d3913454addb07f9566a1b83cfa4d42f74988 Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 21 Jan 2009 03:47:04 +0000 Subject: (svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning) --- src/ai/ai_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.2.3-70-g09d2