Skip to content
Snippets Groups Projects
Commit 05cff85f authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@1147 51575b47-30f0-44d4-a5cc-537603b46e54
parent cbcab66f
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,7 @@ function _M:doQuake(tg, x, y)
if e.x and e.y then e.x, e.ly = l.x, l.y end
-- If it can move, move it
elseif e.x and e.y and e.move then
e.x = nil e.y = nil
e:move(l.x, l.y, true)
end
end
......
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