diff --git a/src/g_demo.c b/src/g_demo.c index b06a89f97..62c85d95f 100644 --- a/src/g_demo.c +++ b/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);