Mercurial > fife-parpg
diff engine/python/fife/extensions/serializers/xmlmap.py @ 684:4f36c890b1dd
* Merged the 0.3.3dev branche changes to the trunk.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 06 Dec 2010 19:25:27 +0000 |
parents | a5809f60d548 |
children |
line wrap: on
line diff
--- a/engine/python/fife/extensions/serializers/xmlmap.py Mon Dec 06 18:37:18 2010 +0000 +++ b/engine/python/fife/extensions/serializers/xmlmap.py Mon Dec 06 19:25:27 2010 +0000 @@ -501,6 +501,13 @@ rotation = int(rotation) inst.setRotation(rotation) + over_block = instance.get('override_blocking') + if over_block is not None: + inst.setOverrideBlocking(bool(over_block)) + blocking = instance.get('blocking') + if blocking is not None: + inst.setBlocking(bool(int(blocking))) + fife.InstanceVisual.create(inst) stackpos = instance.get('stackpos')