Skip to content
Snippets Groups Projects
Commit 261368ed authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4518 51575b47-30f0-44d4-a5cc-537603b46e54
parent bdcee1e7
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,9 @@ function _M:addPond(x, y, spots)
for j = 1, self.do_ponds.size.h do
if pmap[i][j] then
self.map(i-1+x, j-1+y, Map.TERRAIN, self:resolve(pmap[i][j], self.grid_list, true))
self.map.room_map[i-1+x][j-1+y].special = "pond"
if self.map.room_map[i-1+x] and self.map.room_map[i-1+x][j-1+y] then
self.map.room_map[i-1+x][j-1+y].special = "pond"
end
end
end
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