r5493 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Jan 12 02:28:31 EST 2009
Author: div0
Date: 2009-01-12 02:28:31 -0500 (Mon, 12 Jan 2009)
New Revision: 5493
Modified:
trunk/data/qcsrc/server/t_jumppads.qc
trunk/data/qcsrc/server/w_common.qc
Log:
make projectiles support jumppads
Modified: trunk/data/qcsrc/server/t_jumppads.qc
===================================================================
--- trunk/data/qcsrc/server/t_jumppads.qc 2009-01-11 19:50:47 UTC (rev 5492)
+++ trunk/data/qcsrc/server/t_jumppads.qc 2009-01-12 07:28:31 UTC (rev 5493)
@@ -108,14 +108,9 @@
if (other.classname != "corpse")
if (other.classname != "body")
if (other.classname != "gib")
- if (other.classname != "missile")
- if (other.classname != "rocket")
if (other.classname != "casing")
- if (other.classname != "grenade")
- if (other.classname != "plasma")
- if (other.classname != "plasma_prim")
- if (other.classname != "plasma_chain")
if (other.classname != "droppedweapon")
+ if (!other.projectiledeathtype || other.classname == "bullet")
return;
if (other.deadflag && other.iscreature)
Modified: trunk/data/qcsrc/server/w_common.qc
===================================================================
--- trunk/data/qcsrc/server/w_common.qc 2009-01-11 19:50:47 UTC (rev 5492)
+++ trunk/data/qcsrc/server/w_common.qc 2009-01-12 07:28:31 UTC (rev 5493)
@@ -261,6 +261,7 @@
{
entity proj;
proj = spawn();
+ proj.classname = "bullet";
proj.owner = self;
proj.solid = SOLID_BBOX;
if(gravityfactor > 0)
More information about the nexuiz-commits
mailing list