mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-14 06:42:09 +00:00
- forgot to call WriteEnd
This commit is contained in:
parent
9608c2c259
commit
60e26a0f74
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ void NetSyncClass::WriteSyncUpdate(NetCommand &cmd, AActor *actor)
|
|||
writer.Write(actor->syncdata.CompareData.Data() + compareoffset, ((uint8_t*)actor) + mSyncVars[i].offset, mSyncVars[i].size);
|
||||
compareoffset += mSyncVars[i].size;
|
||||
}
|
||||
|
||||
writer.WriteEnd();
|
||||
}
|
||||
|
||||
void NetSyncClass::ReadSyncUpdate(ByteInputStream &stream, AActor *actor)
|
||||
|
|
Loading…
Reference in a new issue