commit f20afa3e1339e3a84a35351c4832bc075d3b6f03
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Jul 29 18:06:04 2008 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Tue Jul 29 18:06:04 2008 +0000
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
---
src/p_telept.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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)