]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also reset owner itself in case we need more than one toss step
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 20 Oct 2011 04:34:55 +0000 (06:34 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 20 Oct 2011 04:34:55 +0000 (06:34 +0200)
qcsrc/server/w_common.qc

index a61ec1067d98d13aef63398b820d3e9255c0f75c..4b465bd77aac8b6822925c202b0f00b541163b70 100644 (file)
@@ -354,6 +354,7 @@ void fireBallisticBullet_trace_callback(vector start, vector hit, vector end)
        if(vlen(trace_endpos - fireBallisticBullet_trace_callback_ent.origin) > 16)
                zcurveparticles_from_tracetoss(fireBallisticBullet_trace_callback_eff, fireBallisticBullet_trace_callback_ent.origin, trace_endpos, fireBallisticBullet_trace_callback_ent.velocity);
        WarpZone_trace_forent = world;
+       self.owner = world;
 }
 
 void fireBallisticBullet(vector start, vector dir, float spread, float pSpeed, float lifetime, float damage, float headshotbonus, float force, float dtype, float tracereffects, float gravityfactor, float bulletconstant)