moved the NetworkEntityManager into the backend code.

This commit is contained in:
Christoph Oelckers 2024-04-21 18:30:19 +02:00
commit a938e9c66c
7 changed files with 186 additions and 183 deletions

View file

@ -660,7 +660,7 @@ void FLevelLocals::SerializePlayers(FSerializer &arc, bool skipload)
for (unsigned int i = 0u; i < MAXPLAYERS; ++i)
{
if (PlayerInGame(i) && Players[i]->mo != nullptr)
NetworkEntityManager::SetClientNetworkEntity(Players[i]);
NetworkEntityManager::SetClientNetworkEntity(Players[i]->mo, i);
}
}
}