fixed bug at25751 (zor)

This commit is contained in:
David Anderson 2006-02-27 20:30:07 +00:00
parent 4aaa2f8e0f
commit b9ed05f38b

View File

@ -553,7 +553,7 @@ public client_death(killer,victim,wpnindex,hitplace,TK)
new killer_name[32] new killer_name[32]
get_user_name(killer,killer_name,31) get_user_name(killer,killer_name,31)
if (!is_user_connected(killer)) if (!is_user_connected(killer) || !is_user_connected(victim))
return PLUGIN_CONTINUE return PLUGIN_CONTINUE
new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0 new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0