probable fix for RTE in tfc stats.sma: amb1642

This commit is contained in:
Steve Dudenhoeffer 2008-05-07 17:36:53 +00:00
parent 0a38ef831f
commit 01f3d729de

View File

@ -630,6 +630,10 @@ public client_death(killer,victim,wpnindex,hitplace,TK){
public showDoubleKill(){ public showDoubleKill(){
new pos = g_KillCount - 2 new pos = g_KillCount - 2
if ( pos > 2 ) pos = 2 if ( pos > 2 ) pos = 2
if (pos < 0)
return PLUGIN_CONTINUE
if ( DoubleKill ) { if ( DoubleKill ) {
new name[32],message[128] new name[32],message[128]
get_user_name(g_prevKillerId,name,31) get_user_name(g_prevKillerId,name,31)