Skip to content
Snippets Groups Projects
Commit 7b73f2cf authored by dg's avatar dg
Browse files

sanity

git-svn-id: http://svn.net-core.org/repos/t-engine4@6184 51575b47-30f0-44d4-a5cc-537603b46e54
parent 96aace48
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,8 @@ end
--- Updates the map on the given spot
-- This updates many things, from the C map object, the FOV caches, the minimap if it exists, ...
function _M:updateMap(x, y)
if not x or not y or x < 0 or y < 0 or x >= self.w or y >= self.h then return end
-- Update minimap if any
local mos = {}
......
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