You don't need to increment demoversion for a flags change
This commit is contained in:
parent
855d25ae13
commit
f523c2f069
1 changed files with 2 additions and 9 deletions
11
src/g_demo.c
11
src/g_demo.c
|
|
@ -112,7 +112,7 @@ demoghost *ghosts = NULL;
|
|||
// DEMO RECORDING
|
||||
//
|
||||
|
||||
#define DEMOVERSION 0x000C
|
||||
#define DEMOVERSION 0x000B
|
||||
#define DEMOHEADER "\xF0" "BlanReplay" "\x0F"
|
||||
|
||||
#define DF_GHOST 0x01 // This demo contains ghost data too!
|
||||
|
|
@ -683,8 +683,7 @@ static headerstatus_e G_ReadDemoHeader(UINT8 *dp, demoheader_t *header)
|
|||
case DEMOVERSION: // latest always supported
|
||||
break;
|
||||
|
||||
case 0x000B:
|
||||
break;
|
||||
case 0x000C:
|
||||
case 0x000A:
|
||||
break;
|
||||
|
||||
|
|
@ -3960,12 +3959,6 @@ void G_AddGhost(char *defdemoname)
|
|||
break;
|
||||
}
|
||||
|
||||
if (demoversion <= 0x000B)
|
||||
{
|
||||
ourraflags &= ~RAF_AIRDROP;
|
||||
ourraflags &= ~RAF_BUMPSPARKMASK;
|
||||
}
|
||||
|
||||
if (ourraflags != raflags)
|
||||
{
|
||||
CONS_Alert(CONS_NOTICE, M_GetText("Failed to add ghost %s: Replay doesn't match current RA mode.\n"), pdemoname);
|
||||
|
|
|
|||
Loading…
Reference in a new issue