summaryrefslogtreecommitdiff
path: root/src/heretic/p_switch.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-17 19:56:12 +0000
committerSimon Howard2008-09-17 19:56:12 +0000
commit8cdc173252c479b8a7448da9ccd48f32eeb0c427 (patch)
tree98bd5d61d9c802f34c7444b6bf8cf7ad035d1395 /src/heretic/p_switch.c
parent3dc8f945820e08c698d4aed66f4f7bf4a9eb9401 (diff)
downloadchocolate-doom-8cdc173252c479b8a7448da9ccd48f32eeb0c427.tar.gz
chocolate-doom-8cdc173252c479b8a7448da9ccd48f32eeb0c427.tar.bz2
chocolate-doom-8cdc173252c479b8a7448da9ccd48f32eeb0c427.zip
Remove definitions from heretic/doomdef.h that are in common code.
Replace "shareware" variable with gamemode, as in doom code. Merge angle definitions into common code. Subversion-branch: /branches/raven-branch Subversion-revision: 1240
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++)