fixing the wrong player index selected for damage.
This commit is contained in:
parent
0d442f4e78
commit
9fd02514c4
@ -344,7 +344,7 @@ stock AddDamageHit( array[ MAX_FEED_HEIGHT ][ E_DAMAGE_FEED ], playerid, issueri
|
||||
array[ wID ][ E_ISSUER ] = issuerid;
|
||||
array[ wID ][ E_WEAPON ] = weapon;
|
||||
|
||||
GetPlayerName( playerid, array[ wID ][ E_NAME ] , MAX_PLAYER_NAME );
|
||||
GetPlayerName( issuerid, array[ wID ][ E_NAME ] , MAX_PLAYER_NAME );
|
||||
|
||||
UpdateDamageFeed( playerid, true );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user