From 63c1c6e6dbf7058c162b01a066759bb7b507af45 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 17 Jan 2009 14:05:31 +0000 Subject: 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); } -- cgit v1.2.3