Skip to content
Snippets Groups Projects
Commit 2679045a authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@989 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5291ffc5
No related branches found
No related tags found
No related merge requests found
......@@ -135,6 +135,7 @@ function _M:display()
end
function _M:toScreen(x, y)
-- Draw with only the texture
self.texture:toScreenFull(x, y, self.w, self.h, self.texture_w, self.texture_h)
end
......
......@@ -180,7 +180,6 @@ function _M:archeryShoot(targets, talent, tg, params)
for i = 1, #targets do
local tg = table.clone(tg)
tg.archery.ammo = targets[i].ammo
print("******........ firing target", targets[i].x, targets[i].y, "from", self.x, self.y)
self:projectile(tg, targets[i].x, targets[i].y, archery_projectile)
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