From 5284ab968879265203e4807cc8296423e4623a8a Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 6 Dec 2011 01:50:38 +0000 Subject: [PATCH] - Do nothing in D_DoAdvanceDemo if gameaction is not ga_nothing. SVN r3326 (trunk) --- src/d_main.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 072ee03d0..26095d93a 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -1225,12 +1225,17 @@ void D_DoAdvanceDemo (void) static int pagecount; const char *pagename = NULL; + advancedemo = false; + + if (gameaction != ga_nothing) + { + return; + } + V_SetBlend (0,0,0,0); players[consoleplayer].playerstate = PST_LIVE; // not reborn - advancedemo = false; usergame = false; // no save / end game here paused = 0; - gameaction = ga_nothing; // [RH] If you want something more dynamic for your title, create a map // and name it TITLEMAP. That map will be loaded and used as the title.