map change crash fixed

This commit is contained in:
Lukasz Wlasinksi
2004-07-21 11:51:18 +00:00
parent 064853d9d5
commit 0b9f3d8e8c
4 changed files with 10 additions and 13 deletions

View File

@ -169,11 +169,9 @@ void Client_Health_End(void* mValue){
g_damage_info.exec( pAttacker->index, mPlayer->index, damage, weapon, aim, TA );
if ( mPlayer->IsAlive() )
return;
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, TA );
if ( !mPlayer->IsAlive() ){
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, TA );
}
}