Skip to content

Commit

Permalink
playing.cxx: don't do tank movement if now world is available
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed Dec 12, 2024
1 parent a6010de commit 63320f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bzflag/playing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -7325,7 +7325,7 @@ static void playingLoop()
}

// do motion
if (myTank)
if (myTank && world)
{
if (myTank->isAlive() && !myTank->isPaused())
{
Expand Down

0 comments on commit 63320f9

Please sign in to comment.