From 374a6e2ce7d3be8543711a7b32d5b14f72113ec2 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 2 Jan 2016 12:58:40 +1000 Subject: [PATCH] Don't override alpha to 1 if warpzones exist, fixes solid black items --- qcsrc/common/t_items.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index e9e8c1be7..8cbbbb339 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -110,6 +110,8 @@ void ItemDrawSimple(entity this) if(this.move_flags & FL_ONGROUND) this.gravity = 0; } + + Item_SetAlpha(this); } void Item_PreDraw() @@ -117,7 +119,7 @@ void Item_PreDraw() if(warpzone_warpzones_exist) { // just incase warpzones were initialized last, reset these - self.alpha = 1; + //self.alpha = 1; // alpha is already set by the draw function self.drawmask = MASK_NORMAL; return; } -- 2.39.2