summaryrefslogtreecommitdiff
path: root/src/game-server/mapreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/mapreader.cpp')
-rw-r--r--src/game-server/mapreader.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game-server/mapreader.cpp b/src/game-server/mapreader.cpp
index 3e1065d2..00587ae1 100644
--- a/src/game-server/mapreader.cpp
+++ b/src/game-server/mapreader.cpp
@@ -540,15 +540,11 @@ void MapReader::setTileWithGid(Map *map, int x, int y, int gid)
i_end = ::tilesetFirstGids.end(); i != i_end; ++i)
{
if (gid < *i)
- {
break;
- }
+
set = *i;
}
if (gid!=set)
- {
map->blockTile(x, y, Map::BLOCKTYPE_WALL);
- }
-
}