Skip to content
Snippets Groups Projects
Commit 5eca01be authored by dg's avatar dg
Browse files

fixed doors that can be passed through

git-svn-id: http://svn.net-core.org/repos/t-engine4@364 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1953737b
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,8 @@ function _M:block_move(x, y, e, act)
if self.door_opened and act then
game.level.map(x, y, engine.Map.TERRAIN, game.zone.grid_list.DOOR_OPEN)
return true
elseif self.door_opened then
return true
end
return false
end
......
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