summaryrefslogtreecommitdiff
path: root/hercules/code/servertoclient/maps.py
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code/servertoclient/maps.py')
-rw-r--r--hercules/code/servertoclient/maps.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/hercules/code/servertoclient/maps.py b/hercules/code/servertoclient/maps.py
index 0f1ca5b..7ac7e4f 100644
--- a/hercules/code/servertoclient/maps.py
+++ b/hercules/code/servertoclient/maps.py
@@ -20,7 +20,7 @@ def covertToTmx(f, mapsCount):
tmx = readFile("templates/template.tmx")
for i in xrange(0, mapsCount):
name = readMapName(f)
- print "converting map [{0:4}/{1:4}]: {2}".format(i, mapsCount + 1, name)
+ print("converting map [{0:4}/{1:4}]: {2}".format(i, mapsCount + 1, name))
sx = readInt16(f)
sy = readInt16(f)
sz = readInt32(f)
@@ -37,11 +37,11 @@ def covertToTmx(f, mapsCount):
if x + 1 == sx and y + 1 == sy:
ground = ground + tile[0]
collision = collision + tile[1]
- fringe = fringe + "0";
+ fringe = fringe + "0"
else:
ground = ground + tile[0] + ","
collision = collision + tile[1] + ","
- fringe = fringe + "0,";
+ fringe = fringe + "0,"
ground = ground + "\n"
collision = collision + "\n"
fringe = fringe + "\n"