r5939 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Feb 24 01:29:07 EST 2009
Author: div0
Date: 2009-02-24 01:29:07 -0500 (Tue, 24 Feb 2009)
New Revision: 5939
Modified:
trunk/data/qcsrc/server/w_porto.qc
Log:
prevent a "modify free entity" warning in the porto
Modified: trunk/data/qcsrc/server/w_porto.qc
===================================================================
--- trunk/data/qcsrc/server/w_porto.qc 2009-02-24 00:03:10 UTC (rev 5938)
+++ trunk/data/qcsrc/server/w_porto.qc 2009-02-24 06:29:07 UTC (rev 5939)
@@ -116,6 +116,7 @@
centerprint(self.owner, "^1In^7-portal created.");
self.right_vector = self.right_vector - 2 * trace_plane_normal * (self.right_vector * norm);
self.angles = vectoangles(self.velocity - 2 * trace_plane_normal * (self.velocity * norm));
+ CSQCProjectile(self, TRUE, PROJECTILE_PORTO_BLUE, TRUE); // change type
}
else
{
@@ -123,7 +124,6 @@
trace_plane_normal = norm;
W_Porto_Fail(0);
}
- CSQCProjectile(self, TRUE, PROJECTILE_PORTO_BLUE, TRUE); // change type
}
else
{
More information about the nexuiz-commits
mailing list