mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make WindowClass a scoped enum
This commit is contained in:
@@ -2963,7 +2963,7 @@ static void SaveFileStart()
|
||||
{
|
||||
SetMouseCursorBusy(true);
|
||||
|
||||
InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_START);
|
||||
InvalidateWindowData(WindowClass::Statusbar, 0, SBI_SAVELOAD_START);
|
||||
_sl.saveinprogress = true;
|
||||
}
|
||||
|
||||
@@ -2972,7 +2972,7 @@ static void SaveFileDone()
|
||||
{
|
||||
SetMouseCursorBusy(false);
|
||||
|
||||
InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_FINISH);
|
||||
InvalidateWindowData(WindowClass::Statusbar, 0, SBI_SAVELOAD_FINISH);
|
||||
_sl.saveinprogress = false;
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
Reference in New Issue
Block a user