Revert "You don't need to increment demoversion for a flags change"
This reverts commit f523c2f069.
This commit is contained in:
parent
f523c2f069
commit
4efb810721
1 changed files with 9 additions and 2 deletions
11
src/g_demo.c
11
src/g_demo.c
|
|
@ -112,7 +112,7 @@ demoghost *ghosts = NULL;
|
|||
// DEMO RECORDING
|
||||
//
|
||||
|
||||
#define DEMOVERSION 0x000B
|
||||
#define DEMOVERSION 0x000C
|
||||
#define DEMOHEADER "\xF0" "BlanReplay" "\x0F"
|
||||
|
||||
#define DF_GHOST 0x01 // This demo contains ghost data too!
|
||||
|
|
@ -683,7 +683,8 @@ static headerstatus_e G_ReadDemoHeader(UINT8 *dp, demoheader_t *header)
|
|||
case DEMOVERSION: // latest always supported
|
||||
break;
|
||||
|
||||
case 0x000C:
|
||||
case 0x000B:
|
||||
break;
|
||||
case 0x000A:
|
||||
break;
|
||||
|
||||
|
|
@ -3959,6 +3960,12 @@ 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