summaryrefslogtreecommitdiff
path: root/hercules/code/server/maps.py
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code/server/maps.py')
-rw-r--r--hercules/code/server/maps.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/hercules/code/server/maps.py b/hercules/code/server/maps.py
index 2ef0173..5e65feb 100644
--- a/hercules/code/server/maps.py
+++ b/hercules/code/server/maps.py
@@ -10,14 +10,14 @@ import zlib
from code.fileutils import readMapName, readInt16, readInt32, readData, makeDir
def listMapCache(f, mapsCount):
- print "Known maps:"
- print "{0:12} {1:<4}x {2:<4} {3:<10}".format("Map name", "sx", "sy", "compressed size")
+ print("Known maps:")
+ print("{0:12} {1:<4}x {2:<4} {3:<10}".format("Map name", "sx", "sy", "compressed size"))
for i in xrange(0, mapsCount):
name = readMapName(f)
sx = readInt16(f)
sy = readInt16(f)
sz = readInt32(f)
- print "{0:12} {1:<4}x {2:<4} {3:<10}".format(name, sx, sy, sz)
+ print("{0:12} {1:<4}x {2:<4} {3:<10}".format(name, sx, sy, sz))
f.seek(sz, 1)
def extractMaps(f, mapsCount):