fixing the wrong player index selected for damage.

This commit is contained in:
Steven Howard 2018-10-11 10:41:35 +01:00
parent 0d442f4e78
commit 9fd02514c4

View File

@ -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 );
}