shithub: choc

Download patch

ref: 1db8ff0b4bc6867370b5401bef89cf4798674d33
parent: 4bab09e99330207b7a35933cbf698debfe5e1633
author: Mike Swanson <[email protected]>
date: Thu May 5 03:57:41 EDT 2016

doom: Use inequality comparison for the freedoom variant (thanks Jon)

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1604,7 +1604,7 @@
     }
 
     // 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.