shithub: choc

Download patch

ref: 63c1c6e6dbf7058c162b01a066759bb7b507af45
parent: 200b46f29ac8e00f909ecb381907c290b165b97e
author: Simon Howard <fraggle@gmail.com>
date: Sat Jan 17 09:05:31 EST 2009

Fix '-mmap' command line parameter.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1429

--- a/src/w_file.c
+++ b/src/w_file.c
@@ -63,7 +63,7 @@
     // directly into memory.
     //
 
-    if (M_CheckParm("-mmap") < 0)
+    if (!M_CheckParm("-mmap"))
     {
         return stdc_wad_file.OpenFile(path);
     }