mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix Peep watching state being based on wrong flag
This commit is contained in:
parent
18995664fe
commit
ea6b3aa05a
|
@ -1865,13 +1865,13 @@ void Peep::FormatActionTo(void* argsV) const
|
|||
auto ride = get_ride(CurrentRide);
|
||||
if (ride != nullptr)
|
||||
{
|
||||
ft.Add<rct_string_id>((CurrentSeat & 0x1) ? STR_WATCHING_CONSTRUCTION_OF : STR_WATCHING_RIDE);
|
||||
ft.Add<rct_string_id>((StandingFlags & 0x1) ? STR_WATCHING_CONSTRUCTION_OF : STR_WATCHING_RIDE);
|
||||
ride->FormatNameTo(ft.Buf());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ft.Add<rct_string_id>((CurrentSeat & 0x1) ? STR_WATCHING_NEW_RIDE_BEING_CONSTRUCTED : STR_LOOKING_AT_SCENERY);
|
||||
ft.Add<rct_string_id>((StandingFlags & 0x1) ? STR_WATCHING_NEW_RIDE_BEING_CONSTRUCTED : STR_LOOKING_AT_SCENERY);
|
||||
}
|
||||
break;
|
||||
case PEEP_STATE_PICKED:
|
||||
|
|
Loading…
Reference in New Issue