fixed last hit bug and problems with c4 damage

This commit is contained in:
Lukasz Wlasinksi
2004-10-16 17:03:53 +00:00
parent 14c3930b3d
commit 61fc7da654
2 changed files with 8 additions and 11 deletions

View File

@ -205,6 +205,9 @@ public client_putinserver(id)
public client_death(killer,victim,wpnindex,hitplace,TK) {
if ( wpnindex == CSW_C4 )
return
new headshot = ( hitplace == HIT_HEAD ) ? 1:0
new selfkill = ( killer == victim ) ? 1:0