probable fix for RTE in tfc stats.sma: amb1642
This commit is contained in:
parent
0a38ef831f
commit
01f3d729de
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user