X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fprojectile.qc;h=fb07b21b8fd18473dfdb9168d5b56b4342b5873d;hb=e0c1470ac5fcae5caeea336e35909475880357df;hp=39aabc44adf4a430f357c0e6e82d4a6d07e596ef;hpb=1d3adc69b6b41927e8a338d02451695128388efc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/projectile.qc b/qcsrc/client/projectile.qc index 39aabc44a..fb07b21b8 100644 --- a/qcsrc/client/projectile.qc +++ b/qcsrc/client/projectile.qc @@ -139,6 +139,8 @@ void Projectile_Draw() else Projectile_ResetTrail(trailorigin); + self.drawmask = 0; + if(!drawn) return; @@ -152,7 +154,7 @@ void Projectile_Draw() break; } - R_AddEntity(self); + self.drawmask = MASK_NORMAL; } void loopsound(entity e, float ch, string samp, float vol, float attn)