mirror of https://github.com/OpenRCT2/OpenRCT2.git
- fixed a condition in sub_6939EB that compared against a wrong field
- added a missing break that caused the wrong text to be displayed in ride window
This commit is contained in:
parent
5a4b940fc2
commit
ad2502e4d5
|
@ -169,7 +169,7 @@ int sub_6939EB(sint16* x, sint16* y, rct_peep* peep){
|
|||
return 1;
|
||||
}
|
||||
peep->var_70 = ebx;
|
||||
if (peep->var_71 != 8 || peep->var_71 != 15){
|
||||
if (peep->var_71 != 8 || peep->var_72 != 15){
|
||||
invalidate_sprite((rct_sprite*)peep);
|
||||
*x = peep->x;
|
||||
*y = peep->y;
|
||||
|
|
|
@ -2975,6 +2975,7 @@ static void window_ride_operating_invalidate()
|
|||
format = 1331;
|
||||
caption = STR_LAUNCH_SPEED;
|
||||
tooltip = STR_LAUNCH_SPEED_TIP;
|
||||
break;
|
||||
case RIDE_MODE_STATION_TO_STATION:
|
||||
RCT2_GLOBAL(0x013CE964, uint16) = (ride->var_0D0 * 9) / 4;
|
||||
caption = STR_SPEED;
|
||||
|
|
Loading…
Reference in New Issue