mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Implement Gymnasiast's suggestion
This commit is contained in:
@@ -264,7 +264,8 @@ void Peep::UpdateWaitingAtCrossing()
|
||||
NextAnimationType = PeepAnimationType::watchRide;
|
||||
SwitchNextAnimationType();
|
||||
|
||||
if (auto* guest = As<Guest>(); guest != nullptr)
|
||||
auto* guest = As<Guest>();
|
||||
if (guest != nullptr)
|
||||
{
|
||||
if (guest->IsActionInterruptable())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user