Close #13625: Refactor TOOL_IDX to use strong enum

This commit is contained in:
Tulio Leao committed 2020-12-23 20:07:54 -03:00
1 parent d6ebdded6b
commit 00483df2f2
22 files changed
+64 -65

No files matched your search

+1 -1
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))
{