1
0
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:
matheusvb3
2025-12-07 13:05:44 -03:00
committed by GitHub
parent f82b445a73
commit 6c97dd1dc7

View File

@@ -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())
{