From cd205669921ce9d98aa5ba87fe620760b08f66c5 Mon Sep 17 00:00:00 2001 From: pawnishoovy <54544349+pawnishoovy@users.noreply.github.com> Date: Mon, 13 Nov 2023 18:47:16 +0200 Subject: [PATCH] make brains that are live but not in sim still allow game control --- Activities/GameActivity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Activities/GameActivity.cpp b/Activities/GameActivity.cpp index fae41ebeb..7cad71f3b 100644 --- a/Activities/GameActivity.cpp +++ b/Activities/GameActivity.cpp @@ -1347,7 +1347,7 @@ void GameActivity::Update() // Assure that Controlled Actor is a safe pointer // Only allow this if player's brain is intact - if (g_MovableMan.IsActor(m_Brain[player])) + if (m_Brain[player] && !m_Brain[player]->IsDead() ) { // Note that we have now had a brain m_HadBrain[player] = true;