1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

remove redundant dropdown assignment

This commit is contained in:
IntelOrca
2015-10-14 21:16:10 +01:00
parent 3855d70d1a
commit 0442f08aae

View File

@@ -203,11 +203,8 @@ void window_dropdown_show_text_custom_width(int x, int y, int extray, uint8 colo
gDropdownHighlightedIndex = -1;
gDropdownItemsDisabled = 0;
gDropdownItemsChecked = 0;
RCT2_GLOBAL(RCT2_ADDRESS_INPUT_STATE, sint8) = INPUT_STATE_DROPDOWN_ACTIVE;
// Copy the following properties until all use of it is decompiled
gDropdownHighlightedIndex = gDropdownHighlightedIndex;
gDropdownIsColour = false;
RCT2_GLOBAL(RCT2_ADDRESS_INPUT_STATE, sint8) = INPUT_STATE_DROPDOWN_ACTIVE;
}
/**