mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make EventState a scoped enum
This commit is contained in:
+2
-2
@@ -832,10 +832,10 @@ public:
|
||||
{
|
||||
if (keycode == WKC_ESC) {
|
||||
this->Close();
|
||||
return ES_HANDLED;
|
||||
return EventState::Handled;
|
||||
}
|
||||
|
||||
return ES_NOT_HANDLED;
|
||||
return EventState::NotHandled;
|
||||
}
|
||||
|
||||
void OnTimeout() override
|
||||
|
||||
Reference in New Issue
Block a user