From 168aef4013998c3b753fdffddca18506df714927 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 12 Mar 2018 21:27:26 -0300 Subject: This reverts commit 6eb5ec084af85d3b27f6c2569d4a1688e70c43fd. It was incorrect file --- hercules/tmx_converter.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'hercules') 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([ -- cgit v1.2.3-60-g2f50