summaryrefslogtreecommitdiff
path: root/src/p_telept.c
diff options
context:
space:
mode:
authorSimon Howard2008-07-29 18:06:04 +0000
committerSimon Howard2008-07-29 18:06:04 +0000
commitf20afa3e1339e3a84a35351c4832bc075d3b6f03 (patch)
tree1d56ab72fc81ff8ce212723634507848ba407a79 /src/p_telept.c
parent3d4af636e71625438ab756d80a328dcbc6850e51 (diff)
downloadchocolate-doom-f20afa3e1339e3a84a35351c4832bc075d3b6f03.tar.gz
chocolate-doom-f20afa3e1339e3a84a35351c4832bc075d3b6f03.tar.bz2
chocolate-doom-f20afa3e1339e3a84a35351c4832bc075d3b6f03.zip
Don't do the Final Doom teleport quirk with Chex Quest, as chex.exe
doesn't do it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1162
Diffstat (limited to 'src/p_telept.c')
-rw-r--r--src/p_telept.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/p_telept.c b/src/p_telept.c
index 8b5ced82..abd307c5 100644
--- a/src/p_telept.c
+++ b/src/p_telept.c
@@ -107,8 +107,11 @@ EV_Teleport
// fraggle: this was changed in final doom,
// problem between normal doom2 1.9 and final doom
+ //
+ // Note that although chex.exe is based on Final Doom,
+ // it does not have this quirk.
- if (gameversion < exe_final)
+ if (gameversion < exe_final || gameversion == exe_chex)
thing->z = thing->floorz;
if (thing->player)