Fix missing params in OnTakeDamagePost typedef
Looks like the |weapon| parameter went missing during the switch to the transitional syntax. There was no -Post typedef including the |damagecustom| bit at all too.
This commit is contained in:
parent
66defdfc27
commit
ff9ae0782e
@ -264,7 +264,9 @@ typeset SDKHookCB
|
|||||||
// OnTakeDamagePost
|
// OnTakeDamagePost
|
||||||
// OnTakeDamageAlivePost
|
// OnTakeDamageAlivePost
|
||||||
function void (int victim, int attacker, int inflictor, float damage, int damagetype);
|
function void (int victim, int attacker, int inflictor, float damage, int damagetype);
|
||||||
function void (int victim, int attacker, int inflictor, float damage, int damagetype, const float damageForce[3], const float damagePosition[3]);
|
function void (int victim, int attacker, int inflictor, float damage, int damagetype, int weapon, const float damageForce[3], const float damagePosition[3]);
|
||||||
|
function void (int victim, int attacker, int inflictor, float damage, int damagetype, int weapon,
|
||||||
|
const float damageForce[3], const float damagePosition[3], int damagecustom);
|
||||||
|
|
||||||
// FireBulletsPost
|
// FireBulletsPost
|
||||||
function void (int client, int shots, const char[] weaponname);
|
function void (int client, int shots, const char[] weaponname);
|
||||||
|
Loading…
Reference in New Issue
Block a user