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

This commit is contained in:
glx
2009-01-21 03:47:04 +00:00
parent e3c69b7c4e
commit e30d391345

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