- [FIX][EDITOR] De vegades el nom de l'actor es veia mal
This commit is contained in:
@@ -53,8 +53,8 @@ actors={
|
||||
if v.ox then x = x + v.ox end
|
||||
if v.oy then y = y + v.oy end
|
||||
|
||||
local mx = math.floor((mousex()-game.cam.x)/8)
|
||||
local my = math.floor((mousey()-game.cam.y)/8)
|
||||
local mx = math.floor((mousex()+game.cam.x)/8)
|
||||
local my = math.floor((mousey()+game.cam.y)/8)
|
||||
if (mx==x or mx==x+1) and (my==y or my==y-1) then
|
||||
actors.under_cursor=v.name
|
||||
subpal(1,16,8)
|
||||
|
||||
Reference in New Issue
Block a user