fixed bug at21142

This commit is contained in:
Borja Ferrer 2005-11-12 01:22:01 +00:00
parent 31b71760e4
commit 4165548661

View File

@ -1059,7 +1059,9 @@ public cmdReport(id)
new iWeapon, iClip, iAmmo, iHealth, iArmor
iWeapon = get_user_weapon(id, iClip, iAmmo)
xmod_get_wpnname(iWeapon, t_sWpn, MAX_WEAPON_LENGTH)
if (iWeapon != 0)
xmod_get_wpnname(iWeapon, t_sWpn, MAX_WEAPON_LENGTH)
iHealth = get_user_health(id)
iArmor = get_user_armor(id)