Skip to content
Snippets Groups Projects
Commit 05f0baf5 authored by DarkGod's avatar DarkGod
Browse files

ahah

parent 329d55a8
No related branches found
No related tags found
No related merge requests found
......@@ -370,7 +370,10 @@ function _M:makeMapObject(tiles, idx)
local dy, dh = amo.display_y or 0, amo.display_h or 1
-- Create a simple additional chained MO
if amo.image_alter == "sdm" then
tex = tiles:get("", 0, 0, 0, 0, 0, 0, amo.image, false, false, true)
local oldrepo = tiles.repo
tiles.repo = {}
tex = tiles:get("", 0, 0, 0, 0, 0, 0, amo.image, false, false, false)
tiles.repo = oldrepo
tex = tex:generateSDM(amo.sdm_double)
texx, texy = 1,1,nil,nil
elseif amo.image then
......
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