mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed self damage stats
This commit is contained in:
parent
aaa1e781c2
commit
78a88d90a0
@ -160,7 +160,8 @@ void Client_Health_End(void* mValue){
|
||||
if ( !pAttacker ){
|
||||
pAttacker = mPlayer;
|
||||
}
|
||||
else{
|
||||
|
||||
if ( pAttacker->index != mPlayer->index ){
|
||||
pAttacker->saveHit( mPlayer , weapon , damage, aim );
|
||||
if ( mPlayer->pEdict->v.team == pAttacker->pEdict->v.team )
|
||||
TA = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user