From 3943a3ab553dafa75aa0df04b25535a3e6a33737 Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 27 Jul 2016 09:47:45 +1000 Subject: [PATCH] Fix item drawing --- qcsrc/common/t_items.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index ee9babfb3..8563349fd 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -195,6 +195,7 @@ NET_HANDLE(ENT_CLIENT_ITEM, bool isnew) { this.drawmask = MASK_NORMAL; this.move_movetype = MOVETYPE_TOSS; + if (isnew) IL_PUSH(g_drawables, this); this.draw = ItemDraw; this.solid = SOLID_TRIGGER; //this.flags |= FL_ITEM; @@ -214,7 +215,6 @@ NET_HANDLE(ENT_CLIENT_ITEM, bool isnew) if(autocvar_cl_simple_items && (this.ItemStatus & ITS_ALLOWSI)) { - if (isnew) IL_PUSH(g_drawables, this); string _fn2 = substring(_fn, 0 , strlen(_fn) -4); this.draw = ItemDrawSimple; -- 2.39.2