ref: d9f9a3b411eb5c2a33527c8a78fa902e07cddd95
parent: 27f8ea9f5a210f055f443ef34017dd2412feb326
author: Simon Howard <[email protected]>
date: Wed Dec 3 14:16:37 EST 2008
Oops. Subversion-branch: /branches/raven-branch Subversion-revision: 1406
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -342,7 +342,7 @@
char *filename;
char *iwadname;
- if ((iwads[i].mission & mask) == 0)
+ if (((1 << iwads[i].mission) & mask) == 0)
{
continue;
}
@@ -389,7 +389,7 @@
// Only use supported missions:
- if ((iwads[i].mission & mask) == 0)
+ if (((1 << iwads[i].mission) & mask) == 0)
continue;
iwadname = DEH_String(iwads[i].name);