float autocvar_crosshair_rpc_alpha = 1;
float autocvar_crosshair_rpc_size = 1;
int autocvar_cl_nade_timer;
+bool autocvar_cl_items_nofade;
#endif
#ifndef JEFF_H
#define JEFF_H
+#ifdef JEFF
+
#define JEFF_ANCE_NOTIF \
MSG_ANNCE_NOTIF(1, ANNCE_JEFF_BOOSTER, CH_INFO, "booster", VOL_BASEVOICE, ATTEN_NONE) \
MSG_ANNCE_NOTIF(1, ANNCE_JEFF_BIOHAZARD, CH_INFO, "biohazard", VOL_BASEVOICE, ATTEN_NONE) \
MSG_ANNCE_NOTIF(1, ANNCE_JEFF_WRECKER, CH_INFO, "wrecker", VOL_BASEVOICE, ATTEN_NONE) \
MSG_ANNCE_NOTIF(1, ANNCE_JEFF_EXCELLENT, CH_INFO, "excellent", VOL_BASEVOICE, ATTEN_NONE)
+#else
+ #define JEFF_ANCE_NOTIF
+#endif
+
#endif
else
alph = 1;
//printf("%v <-> %v\n", view_origin, self.origin + 0.5 * (self.mins + self.maxs));
+ if(self.ItemStatus & ITS_AVAILABLE)
+ self.alpha = alph;
if(alph <= 0)
self.drawmask = 0;
else
self.fade_end = ReadShort();
self.fade_start = ReadShort();
- if(self.fade_start)
+ if(self.fade_start && !autocvar_cl_items_nofade)
self.predraw = Item_PreDraw;
if(self.mdl)