From 18e2e3f73e00447b013583415a0423f09b2b0af0 Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Sun, 12 Sep 2010 00:36:52 +0000 Subject: + externalized isregistered + Swapped out gamemode with isregistered check in P_InitSwitches Subversion-branch: /branches/strife-branch Subversion-revision: 2068 --- src/strife/p_switch.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/strife/p_switch.c') 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 ) -- cgit v1.2.3