shithub: choc

Download patch

ref: f74d7301e0e813d73b4b9da0a93fc5c678ee69fd
parent: 9f358870161c4866526cd85b04ffa1d2f3188899
author: Simon Howard <fraggle@gmail.com>
date: Tue Oct 25 20:56:40 EDT 2005

Final Doom teleport logic was backwards

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 224

--- a/src/p_telept.c
+++ b/src/p_telept.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: p_telept.c 223 2005-10-24 18:50:39Z fraggle $
+// $Id: p_telept.c 224 2005-10-26 00:56:40Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.7  2005/10/26 00:56:40  fraggle
+// Final Doom teleport logic was backwards
+//
 // Revision 1.6  2005/10/24 18:50:39  fraggle
 // Allow the game version to emulate to be specified from the command line
 // and set compatibility options accordingly.
@@ -48,7 +51,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: p_telept.c 223 2005-10-24 18:50:39Z fraggle $";
+rcsid[] = "$Id: p_telept.c 224 2005-10-26 00:56:40Z fraggle $";
 
 
 
@@ -133,7 +136,7 @@
                 // fraggle: this was changed in final doom, 
                 // problem between normal doom2 1.9 and final doom
 
-                if (gameversion >= exe_final)
+                if (gameversion < exe_final)
 		    thing->z = thing->floorz;
                 
 		if (thing->player)