summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/clienttoserver/maps.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py
index d533335..c64f6af 100644
--- a/hercules/code/clienttoserver/maps.py
+++ b/hercules/code/clienttoserver/maps.py
@@ -76,10 +76,7 @@ def recreateMapCache():
tileType = 0
else:
tileType = tile - firstgid;
- if tileType == 0 or tileType == 4:
- tiles.append(0)
- else:
- tiles.append(1)
+ tiles.append(tileType)
elif encoding == "csv":
binData = data.childNodes[0].data.strip()
f = StringIO.StringIO(binData)