forked from rosebudai/OpenRCT2-Web
Implement Gymnasiast's suggestion
This commit is contained in:
1 parent
f82b445a73
commit
6c97dd1dc7
1 file changed
+2
-1
@@ -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