mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +00:00
Maintain compat for record attack replays
This commit is contained in:
parent
272ba600e2
commit
61893c613c
1 changed files with 20 additions and 14 deletions
|
@ -6031,6 +6031,9 @@ void G_BeginRecording(void)
|
|||
|
||||
demoflags |= gametype<<DF_GAMESHIFT;
|
||||
|
||||
// Demo compat: don't write filelist in record attack for now so those replays can still be submitted to the records site
|
||||
//@TODO remove this check eventually and always write the file list
|
||||
if (!modeattacking)
|
||||
demoflags |= DF_FILELIST;/* new versions */
|
||||
|
||||
if (encoremode)
|
||||
|
@ -6052,6 +6055,8 @@ void G_BeginRecording(void)
|
|||
|
||||
WRITEUINT8(demo_p,demoflags);
|
||||
|
||||
if (demoflags & DF_FILELIST)
|
||||
{
|
||||
// file list
|
||||
m = demo_p;/* file count */
|
||||
demo_p += 1;
|
||||
|
@ -6068,6 +6073,7 @@ void G_BeginRecording(void)
|
|||
}
|
||||
|
||||
WRITEUINT8(m, totalfiles);
|
||||
}
|
||||
|
||||
switch ((demoflags & DF_ATTACKMASK)>>DF_ATTACKSHIFT)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue