foxygit / doom Log in
commit 63c1c6e6dbf7058c162b01a066759bb7b507af45
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Jan 17 14:05:31 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Jan 17 14:05:31 2009 +0000

    Fix '-mmap' command line parameter.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1429
---
 src/w_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/w_file.c b/src/w_file.c
index 2a902b07..c8682cbf 100644
--- a/src/w_file.c
+++ b/src/w_file.c
@@ -63,7 +63,7 @@ wad_file_t *W_OpenFile(char *path)
     // directly into memory.
     //

-    if (M_CheckParm("-mmap") < 0)
+    if (!M_CheckParm("-mmap"))
     {
         return stdc_wad_file.OpenFile(path);
     }