tweaked cvars

This commit is contained in:
Dmitry 2015-06-14 23:13:09 +03:00
commit 3b3ef4754b
3 changed files with 67 additions and 2 deletions

View file

@ -29,7 +29,7 @@ ConVar yb_timerpickup ("yb_timerpickup", "0.5", VT_NOSERVER);
ConVar yb_timergrenade ("yb_timergrenade", "0.5", VT_NOSERVER);
ConVar yb_chatter_path ("yb_chatter_path", "sound/radio/bot", VT_NOSERVER);
ConVar yb_restricted_weapons ("yb_restricted_weapons", "ump45;p90;elite;tmp;mac10;m3;xm1014");
ConVar yb_restricted_weapons ("yb_restricted_weapons", "ump45;elite;tmp;mac10;m3;xm1014");
// game console variables
ConVar mp_c4timer ("mp_c4timer", NULL, VT_NOREGISTER);

View file

@ -216,7 +216,7 @@ void DecalTrace (entvars_t *pev, TraceResult *trace, int logotypeIndex)
static Array <String> logotypes;
if (logotypes.IsEmpty ())
logotypes = String ("{biohaz;{graf004;{graf005;{lambda06;{target;{hand1").Split (";");
logotypes = String ("{biohaz;{graf003;{graf004;{graf005;{lambda06;{target;{hand1;{spit2;{bloodhand6;{foot_l;{foot_r").Split (";");
int entityIndex = -1, message = TE_DECAL;
int decalIndex = (*g_engfuncs.pfnDecalIndex) (logotypes[logotypeIndex].GetBuffer ());