summaryrefslogtreecommitdiff
path: root/src/strife/p_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/p_switch.c')
-rw-r--r--src/strife/p_switch.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/strife/p_switch.c b/src/strife/p_switch.c
index 49e52760..0e1da1e8 100644
--- a/src/strife/p_switch.c
+++ b/src/strife/p_switch.c
@@ -33,7 +33,7 @@
#include "p_local.h"
#include "g_game.h"
-
+#include "d_main.h" // villsa [STRIFE]
#include "s_sound.h"
// Data.
@@ -139,9 +139,8 @@ void P_InitSwitchList(void)
episode = 1;
- // STRIFE-FIXME: Needs to test isregistered variable
- if(gamemode == registered)
- episode = 2;
+ if(isregistered)
+ episode = 2;
// villsa [STRIFE] unused
/*else
if ( gamemode == commercial )