Skip to content
Snippets Groups Projects
Commit 3125779c authored by dg's avatar dg
Browse files

Stairs/ways/.. now appear again on the minimap

git-svn-id: http://svn.net-core.org/repos/t-engine4@2544 51575b47-30f0-44d4-a5cc-537603b46e54
parent c0a0f920
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,13 @@ function _M:block_move(x, y, e, act, couldpass)
return self.does_block_move
end
--- Setup minimap color for this entity
-- You may overload this method to customize your minimap
function _M:setupMinimapInfo(mo, map)
if self.change_level then mo:minimap(240, 0, 240) return end
return engine.Grid.setupMinimapInfo(self, mo, map)
end
function _M:on_move(x, y, who, forced)
if forced then return end
if who.move_project and next(who.move_project) 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