summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2015-05-05 22:47:06 -0400
committerSimon Howard2015-05-05 22:47:06 -0400
commit14c50f0200a382dd5be45b9dca74b6d5e4d89730 (patch)
tree94d2c3757b45c54016f47cfe65dba32672b7491a
parent62a8e9b6c6c2018ccea04ec08275afa6eaffc4ec (diff)
downloadchocolate-doom-14c50f0200a382dd5be45b9dca74b6d5e4d89730.tar.gz
chocolate-doom-14c50f0200a382dd5be45b9dca74b6d5e4d89730.tar.bz2
chocolate-doom-14c50f0200a382dd5be45b9dca74b6d5e4d89730.zip
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.
-rw-r--r--src/hexen/h2_main.c2
1 files changed, 1 insertions, 1 deletions
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"