changeset 16:ca21a01f5b1e

* Fixed the xmlmap.py serializer so it correctly reads pathfinding settings from the map file.
author joe_hegarty@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 07 Jul 2008 00:10:02 +0000
parents 5582579d1bca
children ae46cee19e76
files engine/extensions/serializers/xmlmap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/engine/extensions/serializers/xmlmap.py	Sun Jul 06 23:14:24 2008 +0000
+++ b/engine/extensions/serializers/xmlmap.py	Mon Jul 07 00:10:02 2008 +0000
@@ -91,7 +91,7 @@
 			rotation = layer.get('rotation')
 			x_offset = layer.get('x_offset')
 			y_offset = layer.get('y_offset')
-			pathing = "cell_edges_only"
+			pathing = layer.get('pathing')
 
 			if not x_scale: x_scale = 1.0
 			if not y_scale: y_scale = 1.0