diff options
author | Simon Howard | 2008-12-03 19:16:37 +0000 |
---|---|---|
committer | Simon Howard | 2008-12-03 19:16:37 +0000 |
commit | d9f9a3b411eb5c2a33527c8a78fa902e07cddd95 (patch) | |
tree | 43bc74a3ec6d8d359c99bcc57a28edaa81a99f4a | |
parent | 27f8ea9f5a210f055f443ef34017dd2412feb326 (diff) | |
download | chocolate-doom-d9f9a3b411eb5c2a33527c8a78fa902e07cddd95.tar.gz chocolate-doom-d9f9a3b411eb5c2a33527c8a78fa902e07cddd95.tar.bz2 chocolate-doom-d9f9a3b411eb5c2a33527c8a78fa902e07cddd95.zip |
Oops.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1406
-rw-r--r-- | src/d_iwad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c index e6ee2cf8..fdec8cb9 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -342,7 +342,7 @@ static char *SearchDirectoryForIWAD(char *dir, int mask, GameMission_t *mission) char *filename; char *iwadname; - if ((iwads[i].mission & mask) == 0) + if (((1 << iwads[i].mission) & mask) == 0) { continue; } @@ -389,7 +389,7 @@ static GameMission_t IdentifyIWADByName(char *name, int mask) // Only use supported missions: - if ((iwads[i].mission & mask) == 0) + if (((1 << iwads[i].mission) & mask) == 0) continue; iwadname = DEH_String(iwads[i].name); |