1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Rename rct_widgetindex to WidgetIndex

This commit is contained in:
Gymnasiast
2022-08-21 18:49:23 +02:00
parent 7f29e4e39c
commit a088537b65
87 changed files with 768 additions and 770 deletions

View File

@@ -266,7 +266,7 @@ namespace OpenRCT2::Scripting
{
// Use a widget that does not exist on top toolbar but also make sure it isn't -1 as that
// prevents abort from being called.
rct_widgetindex widgetIndex = -2;
WidgetIndex widgetIndex = -2;
tool_cancel();
tool_set(*toolbarWindow, widgetIndex, static_cast<Tool>(customTool.Cursor));
ActiveCustomTool = std::move(customTool);