mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
integrate map selection variables
This commit is contained in:
@@ -64,7 +64,7 @@ void viewport_init_all()
|
||||
gPressedWidget.window_classification = 255;
|
||||
gPickupPeepImage = UINT32_MAX;
|
||||
gTooltipNotShownTicks = -1;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_FLAGS, sint16) = 0;
|
||||
gMapSelectFlags = 0;
|
||||
RCT2_GLOBAL(0x009DEA50, sint16) = -1;
|
||||
textinput_cancel();
|
||||
format_string((char*)0x0141FA44, STR_CANCEL, NULL);
|
||||
|
||||
@@ -1798,7 +1798,7 @@ void tool_cancel()
|
||||
map_invalidate_map_selection_tiles();
|
||||
|
||||
// Reset map selection
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_FLAGS, uint16) = 0;
|
||||
gMapSelectFlags = 0;
|
||||
|
||||
if (gCurrentToolWidget.widget_index != -1) {
|
||||
// Invalidate tool widget
|
||||
|
||||
Reference in New Issue
Block a user