Finished correcting your stuff SidLuke

This commit is contained in:
David Anderson
2005-08-01 04:55:55 +00:00
parent 562633c040
commit a35b96fb7e
11 changed files with 34 additions and 102 deletions

View File

@ -287,13 +287,13 @@ static cell AMX_NATIVE_CALL cwpn_dmg(AMX *amx, cell *params){ // wid,att,vic,dmg
int TA = 0;
if ( (pVic->pEdict->v.team == pAtt->pEdict->v.team ) && ( pVic != pAtt) )
TA = 1;
g_damage_info.exec( pAtt->index, pVic->index, dmg, weapon, aim, TA );
MF_ExecuteForward(g_damage_info, pAtt->index, pVic->index, dmg, weapon, aim, TA );
if ( pVic->IsAlive() )
return 1;
pAtt->saveKill(pVic,weapon,( aim == 1 ) ? 1:0 ,TA);
g_death_info.exec( pAtt->index, pVic->index, weapon, aim, TA );
MF_ExecuteForward(g_death_info, pAtt->index, pVic->index, weapon, aim, TA );
return 1;
}