1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 22:44:32 +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; bool willDie = (!shotData || shotData->dieOnHit) && die;
if(script) if(script)
script->call("hitEntity", e, b); script->call("hitEntity", this, e, b);
target = 0; target = 0;