Skip to content

Commit cd20566

Browse files
committed
make brains that are live but not in sim still allow game control
1 parent 1d4d3ae commit cd20566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Activities/GameActivity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ void GameActivity::Update()
13471347
// Assure that Controlled Actor is a safe pointer
13481348

13491349
// Only allow this if player's brain is intact
1350-
if (g_MovableMan.IsActor(m_Brain[player]))
1350+
if (m_Brain[player] && !m_Brain[player]->IsDead() )
13511351
{
13521352
// Note that we have now had a brain
13531353
m_HadBrain[player] = true;

0 commit comments

Comments
 (0)