forked from rosebudai/OpenRCT2-Web
Close #13625: Refactor TOOL_IDX to use strong enum
This commit is contained in:
1 parent
d6ebdded6b
commit
00483df2f2
22 files changed
+64
-65
No files matched your search
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user