1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Fix #7528: Tab changing in park pricing window happens on mousedown instead of mouseup (#7542)

This commit is contained in:
deurklink
2018-05-19 14:57:05 +02:00
committed by Aaron van Geffen
parent 8c9b56d0f2
commit 996ca5a880
2 changed files with 1 additions and 9 deletions

View File

@@ -1212,15 +1212,6 @@ static void window_park_price_mousedown(rct_window *w, rct_widgetindex widgetInd
case WIDX_CLOSE:
window_close(w);
break;
case WIDX_TAB_1:
case WIDX_TAB_2:
case WIDX_TAB_3:
case WIDX_TAB_4:
case WIDX_TAB_5:
case WIDX_TAB_6:
case WIDX_TAB_7:
window_park_set_page(w, widgetIndex - WIDX_TAB_1);
break;
case WIDX_INCREASE_PRICE:
newFee = Math::Min(MAX_ENTRANCE_FEE, gParkEntranceFee + MONEY(1,00));
park_set_entrance_fee(newFee);