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:
Spoike 2018-10-27 16:59:41 +00:00
parent c5a89bd5d6
commit 9a146f448f
2 changed files with 4 additions and 1 deletions

View file

@ -1039,6 +1039,8 @@ qboolean SV_MVDWritePackets (int num)
if (!sv.mvdrecording) if (!sv.mvdrecording)
return false; return false;
if (demo.recorder.fteprotocolextensions2 & PEXT2_REPLACEMENTDELTAS)
return false;
//flush any intermediate data //flush any intermediate data
MVDWrite_Begin(255, -1, 0); MVDWrite_Begin(255, -1, 0);

View file

@ -3886,7 +3886,8 @@ void SV_SendMVDMessage(void)
while (demo.lastwritten < demo.parsecount-1 && sv.mvdrecording) while (demo.lastwritten < demo.parsecount-1 && sv.mvdrecording)
{ {
SV_MVDWritePackets(1); if (!SV_MVDWritePackets(1))
break;
} }
if (demo.resetdeltas) if (demo.resetdeltas)