mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Rename rct_windownumber to WindowNumber
This commit is contained in:
@@ -632,7 +632,7 @@ static constexpr float kWindowScrollLocations[][2] = {
|
||||
return gInputFlags.has(InputFlag::toolActive) && gCurrentToolWidget.windowClassification == cls;
|
||||
}
|
||||
|
||||
bool isToolActive(WindowClass cls, rct_windownumber number)
|
||||
bool isToolActive(WindowClass cls, WindowNumber number)
|
||||
{
|
||||
return isToolActive(cls) && gCurrentToolWidget.windowNumber == number;
|
||||
}
|
||||
@@ -642,7 +642,7 @@ static constexpr float kWindowScrollLocations[][2] = {
|
||||
return isToolActive(cls) && gCurrentToolWidget.widgetIndex == widgetIndex;
|
||||
}
|
||||
|
||||
bool isToolActive(WindowClass cls, WidgetIndex widgetIndex, rct_windownumber number)
|
||||
bool isToolActive(WindowClass cls, WidgetIndex widgetIndex, WindowNumber number)
|
||||
{
|
||||
return isToolActive(cls, widgetIndex) && gCurrentToolWidget.windowNumber == number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user