summaryrefslogtreecommitdiff
path: root/src/heretic/p_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_switch.c')
-rw-r--r--src/heretic/p_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_switch.c b/src/heretic/p_switch.c
index 29b057e7..7c4f8c02 100644
--- a/src/heretic/p_switch.c
+++ b/src/heretic/p_switch.c
@@ -111,7 +111,7 @@ void P_InitSwitchList(void)
int episode;
episode = 1;
- if (!shareware)
+ if (gamemode != shareware)
episode = 2;
for (index = 0, i = 0; i < MAXSWITCHES; i++)