Implement Gymnasiast's suggestion

This commit is contained in:
matheusvb3 authored and GitHub committed 2025-12-07 13:05:44 -03:00
1 parent f82b445a73
commit 6c97dd1dc7
1 file changed
+2 -1
+2 -1
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())
{