r98 - trunk/progsqc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Feb 2 07:03:45 EST 2008


Author: vermeulen
Date: 2008-02-02 07:03:45 -0500 (Sat, 02 Feb 2008)
New Revision: 98

Modified:
   trunk/progsqc/mapentities.qc
   trunk/progsqc/player.qc
Log:
Fixed jetpack teleporter bug

Modified: trunk/progsqc/mapentities.qc
===================================================================
--- trunk/progsqc/mapentities.qc	2008-02-02 11:56:43 UTC (rev 97)
+++ trunk/progsqc/mapentities.qc	2008-02-02 12:03:45 UTC (rev 98)
@@ -98,7 +98,6 @@
 
 	// hide myself a tic
 	other.flags = other.flags | FL_TELEPORT;
-	other.effects = other.effects | EF_NODRAW;
 	other.teleport_time = time + cvar("sys_ticrate");
 
 	other.flags = other.flags - (other.flags & FL_ONGROUND);

Modified: trunk/progsqc/player.qc
===================================================================
--- trunk/progsqc/player.qc	2008-02-02 11:56:43 UTC (rev 97)
+++ trunk/progsqc/player.qc	2008-02-02 12:03:45 UTC (rev 98)
@@ -710,8 +710,6 @@
 	if (self.flags & FL_TELEPORT)
 	{
 		self.flags -= self.flags & FL_TELEPORT;
-		self.effects -= self.effects & EF_NODRAW;	
-		self.actorpart_jetpacktrail.effects -= self.actorpart_jetpacktrail.effects & EF_NODRAW;
 	}
 
 	if (self.movetype == MOVETYPE_NONE)




More information about the zymotic-commits mailing list