mirror of https://github.com/OpenTTD/OpenTTD
(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)
parent
db3ee34b44
commit
b44390bf39
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue