foxygit / doom Log in
commit 14c50f0200a382dd5be45b9dca74b6d5e4d89730
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Tue May 5 22:47:06 2015 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Tue May 5 22:47:06 2015 -0400

    hexen: Don't show v1.0 message for demo version.

    The Hexen demo IWAD is "detected" as v1.0 because it's missing the
    same lumps that the commercial v1.0 IWAD is missing, but we don't
    want to show the warning message if we're playing the demo; it is
    supported.
---
 src/hexen/h2_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index 77f1bafd..b98621b2 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -271,7 +271,7 @@ void D_IdentifyVersion(void)
     }

     // The v1.0 IWAD file is missing a bunch of lumps.
-    if (W_CheckNumForName("CLUS1MSG") == -1)
+    if (gamemode != shareware && W_CheckNumForName("CLUS1MSG") == -1)
     {
         printf(
             "** WARNING: You are playing with the Hexen v1.0 IWAD. This\n"