]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
useless
authorPenguinum <penguinum@gmail.com>
Thu, 7 May 2015 12:10:53 +0000 (15:10 +0300)
committerPenguinum <penguinum@gmail.com>
Thu, 7 May 2015 12:10:53 +0000 (15:10 +0300)
qcsrc/client/wall.qc

index 14de3c228088b4b24bc960e84907848607282db6..6fc2e19261cf974c34838d1f0a254fed5773b35c 100644 (file)
@@ -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;