mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 13:55:36 -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
|
||||
if (demoplayback &&
|
||||
cmd->buttons & BT_SPECIAL &&
|
||||
cmd->buttons & BT_SPECIALMASK &&
|
||||
cmd->buttons & BTS_SAVEGAME)
|
||||
{
|
||||
cmd->buttons &= ~BTS_SAVEGAME;
|
||||
cmd->buttons &= ~BT_SPECIALMASK;
|
||||
players[consoleplayer].message = "Game Saved (Suppressed)";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user