foxygit / doom Log in
commit 1db8ff0b4bc6867370b5401bef89cf4798674d33
Author:     Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Thu May 5 07:57:41 2016 -0700
Commit:     Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Thu May 5 07:58:44 2016 -0700

    doom: Use inequality comparison for the freedoom variant (thanks Jon)
---
 src/doom/d_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index d35daa4f..aef3f308 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1604,7 +1604,7 @@ void D_DoomMain (void)
     }

     // Check for -file in shareware
-    if (modifiedgame && !(gamevariant & freedoom))
+    if (modifiedgame && (gamevariant != freedoom))
     {
 	// These are the lumps that will be checked in IWAD,
 	// if any one is not present, execution will be aborted.