forked from rosebudai/OpenRCT2-Web
Don't test unsigned value for being negative
This commit is contained in:
1 parent
57dc2af732
commit
ddc2a708d4
1 file changed
+1
-1
@@ -2195,7 +2195,7 @@ static void window_ride_main_mousedown(sint32 widgetIndex, rct_window *w, rct_wi
|
||||
widget_invalidate(w, WIDX_RIDE_TYPE);
|
||||
break;
|
||||
case WIDX_RIDE_TYPE_APPLY:
|
||||
if (_rideType >= 0 && _rideType <= 90) {
|
||||
if (_rideType <= 90) {
|
||||
set_operating_setting(w->number, RIDE_SETTING_RIDE_TYPE, _rideType);
|
||||
}
|
||||
window_invalidate_all();
|
||||
|
||||
Reference in new issue
Block a user