Skip to content

Commit

Permalink
Fixed players not updating their position in multiplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Evghenii committed Sep 15, 2024
1 parent 7964138 commit e732fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cl_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2698,6 +2698,7 @@ void ServerCommands::SpawnPlayer::Execute()
pPlayer->mo = pActor;
pActor->player = pPlayer;
pPlayer->playerstate = playerState;
pPlayer->clientTicOnServerEnd = 0;

// If we were watching through this player's eyes, reattach the camera.
if ( bWasWatchingPlayer )
Expand Down

0 comments on commit e732fc4

Please sign in to comment.