Skip to content

Commit

Permalink
Fix random crash when travelling between hub maps in multiplayer.
Browse files Browse the repository at this point in the history
  • Loading branch information
nashmuhandes authored and coelckers committed Mar 5, 2021
1 parent 7e74d1c commit 16b0dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_saveg.cpp
Expand Up @@ -812,7 +812,7 @@ void FLevelLocals::ReadMultiplePlayers(FSerializer &arc, int numPlayers, int num
}
else
{
for (i = 0; i < MAXPLAYERS; ++i)
for (i = 0; i < numPlayers; ++i)
{
players[i].mo = playertemp[i].mo;
}
Expand Down

0 comments on commit 16b0dd2

Please sign in to comment.