little error checking

This commit is contained in:
David Anderson 2004-11-07 17:24:55 +00:00
parent 74a1db4417
commit d49b2453bb

View File

@ -251,7 +251,7 @@ public client_death(killer,victim,wpnindex,hitplace,TK) {
}
}
if ( EnemyRemaining ) {
new ppl[32], pplnum
new ppl[32], pplnum = 0
new team = get_user_team( victim ) - 1
if ( team >= 0 && team < 4 )
get_players(ppl,pplnum,"e", g_teamsNames[1 - team] )