1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Fix #17067: Random Staff Patrol Area clicks (#18329)

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
Haven Kim
2022-11-15 16:13:24 -08:00
committed by GitHub
parent bde4e2400f
commit 69e5439484
3 changed files with 6 additions and 1 deletions

View File

@@ -1361,6 +1361,7 @@ bool tool_set(const rct_window& w, WidgetIndex widgetIndex, Tool tool)
}
input_set_flag(INPUT_FLAG_TOOL_ACTIVE, true);
input_set_flag(INPUT_FLAG_4, false);
input_set_flag(INPUT_FLAG_6, false);
gCurrentToolId = tool;
gCurrentToolWidget.window_classification = w.classification;