Fixed player assignments when loading multiple players
This commit is contained in:
parent
11809748a1
commit
e435a4ef64
1 changed files with 1 additions and 2 deletions
|
|
@ -734,8 +734,7 @@ void FLevelLocals::ReadMultiplePlayers(FSerializer &arc, int numPlayers, bool fr
|
|||
{
|
||||
TArray<NetworkPlayerInfo> tempPlayers = {};
|
||||
tempPlayers.Reserve(numPlayers);
|
||||
TArray<bool> assignedPlayers = {};
|
||||
assignedPlayers.Reserve(MAXPLAYERS);
|
||||
bool assignedPlayers[MAXPLAYERS] = {};
|
||||
|
||||
// Read all the save game players into a temporary array
|
||||
for (auto& p : tempPlayers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue