fixed some clang warnings

remove chat string from code
This commit is contained in:
Dmitry 2015-06-06 16:19:20 +03:00
commit 25504279d9
10 changed files with 25 additions and 27 deletions

View file

@ -1145,7 +1145,7 @@ void Bot::Kill (void)
KeyValueData kv;
kv.szClassName = const_cast <char *> (g_weaponDefs[m_currentWeapon].className);
kv.szKeyName = "damagetype";
kv.szValue = FormatBuffer ("%d", (1 << 4));
kv.szValue = const_cast <char *> (FormatBuffer ("%d", (1 << 4)));
kv.fHandled = FALSE;
MDLL_KeyValue (hurtEntity, &kv);