- make the title music only play once, unless a real demo is successfully played.
This commit is contained in:
parent
aaf8323eb2
commit
e47671c865
2 changed files with 6 additions and 2 deletions
|
|
@ -138,6 +138,7 @@ CUSTOM_CVAR (Int, displaynametags, 0, CVAR_ARCHIVE)
|
|||
|
||||
CVAR(Int, nametagcolor, CR_GOLD, CVAR_ARCHIVE)
|
||||
|
||||
extern bool playedtitlemusic;
|
||||
|
||||
gameaction_t gameaction;
|
||||
gamestate_t gamestate = GS_STARTUP;
|
||||
|
|
@ -1166,7 +1167,7 @@ void G_Ticker ()
|
|||
case ga_loadgameplaydemo:
|
||||
G_DoLoadGame ();
|
||||
// fallthrough
|
||||
case ga_playdemo:
|
||||
case ga_playdemo:
|
||||
G_DoPlayDemo ();
|
||||
break;
|
||||
case ga_completed:
|
||||
|
|
@ -2934,6 +2935,7 @@ void G_DoPlayDemo (void)
|
|||
|
||||
usergame = false;
|
||||
demoplayback = true;
|
||||
playedtitlemusic = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue