Fix killcams

This commit is contained in:
Federico Cecchetto 2022-05-31 23:15:54 +02:00
parent 14ac812807
commit bfafa3fb36

View File

@ -203,7 +203,7 @@ namespace gameplay
void g_damage_stub(game::mp::gentity_s* targ, const game::mp::gentity_s* inflictor, game::mp::gentity_s* attacker,
const float* dir, const float* point, int damage, int dflags, int mod,
const unsigned int weapon, bool is_alternate, unsigned int hit_loc,
unsigned int model_index, unsigned int part_name, int time_offset)
unsigned int model_index, unsigned int part_name, int time_offset, int a15)
{
if (targ->flags & 1) // godmode
{
@ -216,7 +216,7 @@ namespace gameplay
}
g_damage_hook.invoke<void>(targ, inflictor, attacker, dir, point, damage, dflags, mod, weapon,
is_alternate, hit_loc, model_index, part_name, time_offset);
is_alternate, hit_loc, model_index, part_name, time_offset, a15);
}
}