From 3557e693d25d1eacd1f8342b9b3b94d43e37cd7c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Aug 2016 18:26:01 +0300 Subject: hercules: tmx to map. Replace tile type 5 to 0. --- hercules/code/clienttoserver/maps.py | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2