fixed a forward bug causing client_death to pass weapindex as the damage
This commit is contained in:
@ -232,7 +232,7 @@ void Client_Damage_End(void* mValue){
|
||||
pAttacker->saveKill(mPlayer,weapon,( aim == 1 ) ? 1:0 ,TA);
|
||||
|
||||
if (g_death_info > 0)
|
||||
MF_ExecuteForward(g_death_info, pAttacker->index, mPlayer->index, damage, weapon, aim, TA);
|
||||
MF_ExecuteForward(g_death_info, pAttacker->index, mPlayer->index, weapon, aim, TA);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user