mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Don't write svc_playerinfo to a demo that's using supports replacementdeltas. Stuff like that can be confusing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5329 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c5a89bd5d6
commit
9a146f448f
2 changed files with 4 additions and 1 deletions
|
@ -1039,6 +1039,8 @@ qboolean SV_MVDWritePackets (int num)
|
|||
|
||||
if (!sv.mvdrecording)
|
||||
return false;
|
||||
if (demo.recorder.fteprotocolextensions2 & PEXT2_REPLACEMENTDELTAS)
|
||||
return false;
|
||||
|
||||
//flush any intermediate data
|
||||
MVDWrite_Begin(255, -1, 0);
|
||||
|
|
|
@ -3886,7 +3886,8 @@ void SV_SendMVDMessage(void)
|
|||
|
||||
while (demo.lastwritten < demo.parsecount-1 && sv.mvdrecording)
|
||||
{
|
||||
SV_MVDWritePackets(1);
|
||||
if (!SV_MVDWritePackets(1))
|
||||
break;
|
||||
}
|
||||
|
||||
if (demo.resetdeltas)
|
||||
|
|
Loading…
Reference in a new issue