From 3aa30def5d2976cddad105e5f6a2eba9bcf62ae8 Mon Sep 17 00:00:00 2001 From: wushin Date: Mon, 21 Apr 2014 22:21:49 -0500 Subject: Fixed minimap render to respect new path Added --hide-layer Collision to options so it won't ever add back --- client/minimap-render.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/minimap-render.py b/client/minimap-render.py index c9cb4a1..a92a48b 100755 --- a/client/minimap-render.py +++ b/client/minimap-render.py @@ -10,7 +10,7 @@ import re CLIENT_DATA_ROOT = os.path.realpath( os.path.join( os.path.dirname(__file__), - u'..', + u'../../client-data', ) ) @@ -67,7 +67,7 @@ class MinimapRenderer(object): mrf, map_raster = tempfile.mkstemp(suffix='.png') tmxrasterizer_cmd = [ platform_programs.get('tmxrasterizer'), - '--tilesize', str(self.tilesize), + '--tilesize', str(self.tilesize), '--hide-layer', 'Collision', ] if self.useAntiAliasing: tmxrasterizer_cmd.append('--anti-aliasing') -- cgit v1.2.3-70-g09d2