xmod shared natives

This commit is contained in:
Lukasz Wlasinksi
2004-08-05 01:02:39 +00:00
parent ffad9e7af4
commit 5bf3577d9c
13 changed files with 159 additions and 30 deletions

View File

@ -41,6 +41,7 @@ void Client_ResetHUD_End(void* mValue){
mPlayer->items = 0;
mPlayer->is_specialist = 0;
mPlayer->killingSpree = 0;
mPlayer->killFlags = 0;
mPlayer->frags = (int)mPlayer->pEdict->v.frags;
/*
fix dla user_kill() z addfrag
@ -216,8 +217,9 @@ void Client_TSHealth_End(void* mValue){
}
}
pAttacker->killFlags = killFlags;
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, killFlags, TA );
g_death_info.exec( pAttacker->index, mPlayer->index, weapon, aim, TA );
}