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:
parent
01b7d51834
commit
609a13d03d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue