From 0ce4ee95afa00a83216d11da67145c150d9abc98 Mon Sep 17 00:00:00 2001 From: assertivist Date: Thu, 19 Dec 2024 12:56:29 -0800 Subject: [PATCH] attempt to fix scout crash --- src/game/CAbstractPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/CAbstractPlayer.cpp b/src/game/CAbstractPlayer.cpp index 7caf4ef1..7679e62e 100644 --- a/src/game/CAbstractPlayer.cpp +++ b/src/game/CAbstractPlayer.cpp @@ -1569,7 +1569,7 @@ void CAbstractPlayer::FrameAction() { if (doIncarnateSound) { IncarnateSound(); - if (itsManager->Presence() == kzAvailable && + if (itsScout && itsManager->Presence() == kzAvailable && itsScout->action == kScoutInactive) { itsScout->ToggleState(kScoutUp); }