new(old) register forwards system

This commit is contained in:
Lukasz Wlasinksi
2004-06-30 17:37:36 +00:00
parent e0a9c60bf1
commit e4a735d447
8 changed files with 100 additions and 14 deletions

View File

@ -146,7 +146,7 @@ void Client_TSHealth_End(void* mValue){
if ( weaponData[weapon].melee )
pAttacker->saveShot(weapon);
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() )
return;
@ -217,7 +217,7 @@ void Client_TSHealth_End(void* mValue){
}
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
MF_ExecuteForward( iFDeath, pAttacker->index, mPlayer->index, weapon, aim, killFlags, TA );
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, killFlags, TA );
}