shithub: choc

Download patch

ref: 14c50f0200a382dd5be45b9dca74b6d5e4d89730
parent: 62a8e9b6c6c2018ccea04ec08275afa6eaffc4ec
author: Simon Howard <fraggle@soulsphere.org>
date: Tue May 5 18:47:06 EDT 2015

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.

--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -271,7 +271,7 @@
     }
 
     // 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"