mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Don't print quotes when not in-game.
This is required after a change in the cheat menu commit that allows the cheat quotes to trigger from the in-game menu. However, a side-effect was that pressing F12 in the main menu would cause "SCREEN SAVED" to display indefinitely. git-svn-id: https://svn.eduke32.com/eduke32@5114 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3a081603ae
commit
f68829c08a
1 changed files with 1 additions and 1 deletions
|
@ -2755,7 +2755,7 @@ void P_DoQuote(int32_t q, DukePlayer_t *p)
|
|||
{
|
||||
int32_t cq = 0;
|
||||
|
||||
if (ud.fta_on == 0 || q < 0)
|
||||
if (ud.fta_on == 0 || q < 0 || !(p->gm & MODE_GAME))
|
||||
return;
|
||||
|
||||
if (q & MAXQUOTES)
|
||||
|
|
Loading…
Reference in a new issue