shithub: choc

Download patch

ref: f20afa3e1339e3a84a35351c4832bc075d3b6f03
parent: 3d4af636e71625438ab756d80a328dcbc6850e51
author: Simon Howard <[email protected]>
date: Tue Jul 29 14:06:04 EDT 2008

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

--- a/src/p_telept.c
+++ b/src/p_telept.c
@@ -107,8 +107,11 @@
 		
                 // 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)