forwards change

This commit is contained in:
Lukasz Wlasinksi
2004-07-01 10:12:50 +00:00
parent ed7b584b49
commit 3c99a32272
8 changed files with 99 additions and 14 deletions

View File

@ -225,11 +225,11 @@ void Client_Damage_End(void* mValue){
TA = 0;
if ( (mPlayer->teamId == pAttacker->teamId) && (mPlayer != pAttacker) )
TA = 1;
MF_ExecuteForward ( iFDamage, pAttacker->index, mPlayer->index, damage, weapon, aim, TA );
g_damage_info.exec( pAttacker->index, mPlayer->index, damage, weapon, aim, TA );
if( !mPlayer->IsAlive() ){
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
MF_ExecuteForward ( iFDeath, pAttacker->index, mPlayer->index, weapon, aim, TA );
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, TA );
}
}