mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 14:33:46 -04:00
fix suppress savegame in G_ReadDemoTiccmd (#675)
This commit is contained in:
parent
6b6b3f7ff2
commit
76b716b2c7
@ -975,9 +975,10 @@ static void G_ReadDemoTiccmd(ticcmd_t *cmd)
|
|||||||
// killough 3/26/98, 10/98: Ignore savegames in demos
|
// killough 3/26/98, 10/98: Ignore savegames in demos
|
||||||
if (demoplayback &&
|
if (demoplayback &&
|
||||||
cmd->buttons & BT_SPECIAL &&
|
cmd->buttons & BT_SPECIAL &&
|
||||||
|
cmd->buttons & BT_SPECIALMASK &&
|
||||||
cmd->buttons & BTS_SAVEGAME)
|
cmd->buttons & BTS_SAVEGAME)
|
||||||
{
|
{
|
||||||
cmd->buttons &= ~BTS_SAVEGAME;
|
cmd->buttons &= ~BT_SPECIALMASK;
|
||||||
players[consoleplayer].message = "Game Saved (Suppressed)";
|
players[consoleplayer].message = "Game Saved (Suppressed)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user