mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix warning.
This commit is contained in:
parent
8eb313f852
commit
11398cf60f
|
@ -1599,7 +1599,7 @@ void window_ride_construct(rct_window *w)
|
|||
{
|
||||
// Window may be closed by close by class so
|
||||
// make backup before calling.
|
||||
uint8 rideIndex = w->number;
|
||||
uint8 rideIndex = (uint8)w->number;
|
||||
window_close_by_class(WC_RIDE_CONSTRUCTION);
|
||||
ride_construct(rideIndex);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue