1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 07:43:01 +01:00

Close #13625: Refactor TOOL_IDX to use strong enum

This commit is contained in:
Tulio Leao
2020-12-23 01:11:15 -03:00
parent d6ebdded6b
commit 00483df2f2
22 changed files with 64 additions and 65 deletions

View File

@@ -1331,7 +1331,7 @@ void window_set_resize(rct_window* w, int32_t minWidth, int32_t minHeight, int32
* @param widgetIndex (dx)
* @param w (esi)
*/
bool tool_set(rct_window* w, rct_widgetindex widgetIndex, TOOL_IDX tool)
bool tool_set(rct_window* w, rct_widgetindex widgetIndex, Tool tool)
{
if (input_test_flag(INPUT_FLAG_TOOL_ACTIVE))
{