(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)
This commit is contained in:
@@ -550,7 +550,7 @@ struct AIConfigWindow : public Window {
|
|||||||
virtual void OnTick()
|
virtual void OnTick()
|
||||||
{
|
{
|
||||||
if (--this->timeout == 0) {
|
if (--this->timeout == 0) {
|
||||||
this->clicked_button = -1;
|
this->clicked_button = false;
|
||||||
this->SetDirty();
|
this->SetDirty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user