foxygit / doom Log in
commit 5bab2a788da04bd8aaa65891cb3fc7240d56a9b7
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Sep 21 18:20:32 2008 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Sep 21 18:20:32 2008 +0000

    Don't play DEMO4 if gameversion is emulating chex.exe - it only plays
    demos 1-3.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1264
---
 src/d_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/d_main.c b/src/d_main.c
index 2ab329bf..849897fe 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -504,7 +504,7 @@ void D_DoAdvanceDemo (void)
     paused = false;
     gameaction = ga_nothing;

-    if ( gamemode == retail )
+    if (gamemode == retail && gameversion != exe_chex)
       demosequence = (demosequence+1)%7;
     else
       demosequence = (demosequence+1)%6;