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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user