Skip to content
Snippets Groups Projects
Commit 9d429dce authored by dg's avatar dg
Browse files

Fix Tornado casted on a target with Gloom/Sanctuary

git-svn-id: http://svn.net-core.org/repos/t-engine4@5378 51575b47-30f0-44d4-a5cc-537603b46e54
parent ac24ac97
No related branches found
No related tags found
No related merge requests found
......@@ -295,8 +295,10 @@ function _M:makeHoming(src, display, def, target, count, on_move, on_hit)
trail_particle = display.trail,
src = src,
def = def,
start_x = def.start_x or src.x, start_y = def.start_y or src.y,
homing = {target=target, count=count, on_move=on_move, on_hit=on_hit},
energy = {mod=speed},
tmp_proj = {},
}
game.level.map:checkAllEntities(target.x, target.y, "on_projectile_target", p)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment