[chocolate-doom] 48/83: Demo sync problem with teleports and final doom
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.
commit c04c42706a8f60711a716cf883f23bcf104591ea
Author: Simon Howard <fraggle at gmail.com>
Date: Tue Aug 23 09:54:23 2005 +0000
Demo sync problem with teleports and final doom
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 54
---
src/p_telept.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/p_telept.c b/src/p_telept.c
index 1d1f719..d8e3b65 100644
--- a/src/p_telept.c
+++ b/src/p_telept.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: p_telept.c 8 2005-07-23 16:44:57Z fraggle $
+// $Id: p_telept.c 54 2005-08-23 09:54:23Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2005/08/23 09:54:23 fraggle
+// Demo sync problem with teleports and final doom
+//
// Revision 1.2 2005/07/23 16:44:56 fraggle
// Update copyright to GNU GPL
//
@@ -35,7 +38,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: p_telept.c 8 2005-07-23 16:44:57Z fraggle $";
+rcsid[] = "$Id: p_telept.c 54 2005-08-23 09:54:23Z fraggle $";
@@ -116,7 +119,12 @@ EV_Teleport
if (!P_TeleportMove (thing, m->x, m->y))
return 0;
- thing->z = thing->floorz; //fixme: not needed?
+ // fraggle: this was changed in final doom,
+ // problem between normal doom2 1.9 and final doom
+
+ if (gamemission == pack_tnt || gamemission == pack_plutonia)
+ thing->z = thing->floorz;
+
if (thing->player)
thing->player->viewz = thing->z+thing->player->viewheight;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git
More information about the Pkg-games-commits
mailing list