From 186519dc924f78f8bc548b087c0b54cf52ca23be Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 10 Aug 2007 14:59:05 +0000 Subject: [PATCH] Fix for amb774 - is_user_bot() checked on killer twice, when one check should have been victim. --- plugins/dod/stats.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dod/stats.sma b/plugins/dod/stats.sma index 30e6fa1c..2b9abfe1 100755 --- a/plugins/dod/stats.sma +++ b/plugins/dod/stats.sma @@ -625,7 +625,7 @@ public client_death(killer,victim,wpnindex,hitplace,TK) g_DeathStats[victim] = get_gametime() + statstime - if ( ShowKiller && !(!get_cvar_num("dodstats_rankbots") && (is_user_bot(killer) || is_user_bot(killer))) ){ + if ( ShowKiller && !(!get_cvar_num("dodstats_rankbots") && (is_user_bot(killer) || is_user_bot(victim))) ){ new stats[9], body[8], wpn[33], mstats[9], mbody[8] get_user_astats(victim,killer,stats,body,wpn,31)