Fix random crash when travelling between hub maps in multiplayer.

This commit is contained in:
nashmuhandes 2021-03-05 15:07:18 +08:00 committed by Christoph Oelckers
parent 7e74d1c4a1
commit 16b0dd2fe8

View file

@ -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;
}