mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 21:44:22 +00:00
Minor change in tilemap.lua to identify empty tiles
This commit is contained in:
parent
32b1348a97
commit
6f65211803
@ -193,7 +193,7 @@ do
|
|||||||
points={ Point(1, 7), Point(2, 8) }} -- Tile 0,0 and 1,1
|
points={ Point(1, 7), Point(2, 8) }} -- Tile 0,0 and 1,1
|
||||||
|
|
||||||
-- TODO add a constant for the empty tile
|
-- TODO add a constant for the empty tile
|
||||||
local e = 4294967295 -- empty tile (0xffffffff)
|
local e = tonumber("ffffffff", 16) -- empty tile (0xffffffff)
|
||||||
|
|
||||||
cel = tm.cels[1]
|
cel = tm.cels[1]
|
||||||
expect_img(cel.image, { 0,e, e,e,e,e,
|
expect_img(cel.image, { 0,e, e,e,e,e,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user