X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fweapons%2Fprojectile.qc;fp=qcsrc%2Fclient%2Fweapons%2Fprojectile.qc;h=6261fa842f987773298274395246d7a32f782739;hb=aa14e2a0c66030cfde1c5d9d2c0882b5aa4816c1;hp=8763ba2379b99817ef5702ff9be0fe744ccd7d70;hpb=daab9330abb8952053b47239d1322cd029b08cd1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/weapons/projectile.qc b/qcsrc/client/weapons/projectile.qc index 8763ba237..6261fa842 100644 --- a/qcsrc/client/weapons/projectile.qc +++ b/qcsrc/client/weapons/projectile.qc @@ -22,12 +22,6 @@ void SUB_Stop(entity this) this.move_movetype = MOVETYPE_NONE; } -void SUB_Stop_self() -{ - SELFPARAM(); - SUB_Stop(this); -} - void Projectile_ResetTrail(entity this, vector to) { this.trail_oldorigin = to; @@ -337,7 +331,7 @@ NET_HANDLE(ENT_CLIENT_PROJECTILE, bool isnew) this.mins = '0 0 0'; this.maxs = '0 0 0'; this.colormod = '0 0 0'; - settouch(this, SUB_Stop_self); + settouch(this, SUB_Stop); this.move_movetype = MOVETYPE_TOSS; this.alphamod = 1;