1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Hotfixed sprite.lua

Removed debug code. Again.
This commit is contained in:
Firewolf 2015-09-02 17:17:33 +02:00
parent e0ff7ad9c4
commit 3f995629c0

View file

@ -6,8 +6,6 @@ local mod = {}
local function getBox(tx, ty, i, sx, sy)
x = ((i*sx)%tx)
y = math.floor((i*sx)/tx)*sy
gfx.text(150, 150, tx.."/"..ty.." -> "..x.."/"..y)
return x, y
end