New API for assigning unique network ids to objects

This commit is contained in:
Boondorl 2024-02-19 13:35:01 -05:00 committed by Rachael Alexanderson
commit 8d0d130dc9
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
11 changed files with 233 additions and 1 deletions

View file

@ -1425,6 +1425,7 @@ void FLevelLocals::PlayerReborn (int player)
p->oldbuttons = ~0, p->attackdown = true; p->usedown = true; // don't do anything immediately
p->original_oldbuttons = ~0;
p->playerstate = PST_LIVE;
NetworkEntityManager::SetClientNetworkEntity(p);
if (gamestate != GS_TITLELEVEL)
{