diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-12 21:27:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-12 21:27:26 -0300 |
commit | 168aef4013998c3b753fdffddca18506df714927 (patch) | |
tree | 5b5a6a710d3a31289cd3754d0e817880afb3ab75 /hercules | |
parent | 43aee67c8fea645a78bce0b397b9ade2c4b0ad9b (diff) | |
download | tools-168aef4013998c3b753fdffddca18506df714927.tar.gz tools-168aef4013998c3b753fdffddca18506df714927.tar.bz2 tools-168aef4013998c3b753fdffddca18506df714927.tar.xz tools-168aef4013998c3b753fdffddca18506df714927.zip |
This reverts commit 6eb5ec084af85d3b27f6c2569d4a1688e70c43fd.
It was incorrect file
Diffstat (limited to 'hercules')
-rwxr-xr-x | hercules/tmx_converter.py | 5 |
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([ |