From 01f3d729de183e8c0f3ce34008fcfdeb5e7f61e0 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Wed, 7 May 2008 17:36:53 +0000 Subject: [PATCH] probable fix for RTE in tfc stats.sma: amb1642 --- plugins/tfc/stats.sma | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/tfc/stats.sma b/plugins/tfc/stats.sma index d3ec7cf7..d13cc83f 100755 --- a/plugins/tfc/stats.sma +++ b/plugins/tfc/stats.sma @@ -630,6 +630,10 @@ public client_death(killer,victim,wpnindex,hitplace,TK){ public showDoubleKill(){ new pos = g_KillCount - 2 if ( pos > 2 ) pos = 2 + + if (pos < 0) + return PLUGIN_CONTINUE + if ( DoubleKill ) { new name[32],message[128] get_user_name(g_prevKillerId,name,31)