summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 18:26:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-07 18:26:01 +0300
commit3557e693d25d1eacd1f8342b9b3b94d43e37cd7c (patch)
tree840d402c29caea2f7cee3348d8563dfd622026e8 /hercules
parentb68c476cda5b2de12a8dbbe2b41523b57cc259b9 (diff)
downloadevol-tools-3557e693d25d1eacd1f8342b9b3b94d43e37cd7c.tar.gz
evol-tools-3557e693d25d1eacd1f8342b9b3b94d43e37cd7c.tar.bz2
evol-tools-3557e693d25d1eacd1f8342b9b3b94d43e37cd7c.tar.xz
evol-tools-3557e693d25d1eacd1f8342b9b3b94d43e37cd7c.zip
hercules: tmx to map. Replace tile type 5 to 0.
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/clienttoserver/maps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py
index 0cdafb4..a24899a 100644
--- a/hercules/code/clienttoserver/maps.py
+++ b/hercules/code/clienttoserver/maps.py
@@ -41,8 +41,8 @@ def findFirstGid(tilesets, tile):
# 4 - sit, walkable ground
# 5 - none
def convertTileType(tile):
-# if tile == 4:
-# tile = 0;
+ if tile == 5:
+ tile = 0;
if tile > 128 or tile < 0:
tile = 1
return tile