1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-18 02:34:57 +00:00

fix shot hitEntity() interface function

This commit is contained in:
fgenesis 2022-06-10 02:03:28 +02:00
parent 01b7d51834
commit 609a13d03d

View file

@ -642,7 +642,7 @@ void Shot::hitEntity(Entity *e, Bone *b)
bool willDie = (!shotData || shotData->dieOnHit) && die;
if(script)
script->call("hitEntity", e, b);
script->call("hitEntity", this, e, b);
target = 0;