From: Penguinum Date: Thu, 7 May 2015 12:10:53 +0000 (+0300) Subject: useless X-Git-Tag: xonotic-v0.8.1~40^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5cf8275bfe6af64fca7133fcd2e63dae59103a2a;p=xonotic%2Fxonotic-data.pk3dir.git useless --- diff --git a/qcsrc/client/wall.qc b/qcsrc/client/wall.qc index 14de3c228..6fc2e1926 100644 --- a/qcsrc/client/wall.qc +++ b/qcsrc/client/wall.qc @@ -14,7 +14,6 @@ void Ent_Wall_PreDraw() self.alpha = 0; else if(self.fade_start) { vector player_dist = org - self.origin - 0.5 * (self.mins + self.maxs); - player_dist_z = 0; self.alpha = (self.alpha_min + self.alpha_max * bound(0, (self.fade_end - vlen(player_dist)) / (self.fade_end - self.fade_start), 1)) / 100.0;