mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Multiplayer: Read class-specific snapshot data only if network-synced
This commit is contained in:
parent
9511a529af
commit
4569238301
1 changed files with 2 additions and 2 deletions
|
@ -983,8 +983,8 @@ void idGameLocal::ClientReadSnapshot( const idSnapShot& ss )
|
|||
|
||||
ent->FlagNewSnapshot();
|
||||
|
||||
// read the class specific data from the snapshot
|
||||
if( msg.GetRemainingReadBits() > 0 )
|
||||
// read the class specific data from the snapshot; SRS - only if network-synced
|
||||
if( msg.GetRemainingReadBits() > 0 && ent->fl.networkSync )
|
||||
{
|
||||
ent->ReadFromSnapshot_Ex( msg );
|
||||
ent->snapshotBits = msg.GetSize();
|
||||
|
|
Loading…
Reference in a new issue