summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhercules/tmx_converter.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py
index 063fe53..8638a9c 100755
--- a/hercules/tmx_converter.py
+++ b/hercules/tmx_converter.py
@@ -190,7 +190,6 @@ class ContentHandler(xml.sax.ContentHandler):
self.firstgid = int(attr[u'firstgid'])
if name == u'layer' and attr[u'name'].lower().startswith(u'height'):
- print("HEIGHT LAYER PRESENT")
self.width = int(attr[u'width'])
self.height = int(attr[u'height'])
self.state = State.LAYER
@@ -263,9 +262,6 @@ class ContentHandler(xml.sax.ContentHandler):
except ValueError:
pass
setattr(obj, key, value)
- else:
- print(str(self.state))
-
def add_warp_line(self, line):
self.warps.write(line)
@@ -313,7 +309,6 @@ class ContentHandler(xml.sax.ContentHandler):
elif isinstance(obj, Warp):
if (obj.npc_id == u'WARP'):
obj_name = "#%s_%s_%s" % (self.base, obj.x, obj.y)
- print("its a warp: %s" % obj_name)
y_offset = int(self.heightmap[((obj.y * self.width) + obj.x)])/2
self.warps.write(
SEPARATOR.join([