1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00

integrate variable: gInputPlaceObjectModifier

This commit is contained in:
IntelOrca
2016-01-05 22:33:47 +00:00
parent 94ae72f228
commit f4f07ae5bb
6 changed files with 49 additions and 37 deletions

View File

@@ -95,7 +95,7 @@ void window_map_tooltip_update_visibility()
if (
_cursorHoldDuration < 25 ||
RCT2_GLOBAL(RCT2_ADDRESS_MAP_TOOLTIP_ARGS, sint16) == -1 ||
(RCT2_GLOBAL(RCT2_ADDRESS_PLACE_OBJECT_MODIFIER, uint8) & 3) ||
(gInputPlaceObjectModifier & 3) ||
window_find_by_class(WC_ERROR) != NULL
) {
window_close_by_class(WC_MAP_TOOLTIP);