1
0
Fork 0

(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)

release/0.7
glx 2009-01-21 03:47:04 +00:00
parent db3ee34b44
commit b44390bf39
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}