changeset 487:17e01e201f9b

Add default facing to blocking NPCs
author Neil Muller <drnlmuller@gmail.com>
date Sat, 09 Apr 2011 22:18:20 +0200
parents 6dc341ea8950
children 2521fcb7b6d3
files skaapsteker/sprites/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skaapsteker/sprites/base.py	Sat Apr 09 22:22:06 2011 +0200
+++ b/skaapsteker/sprites/base.py	Sat Apr 09 22:18:20 2011 +0200
@@ -286,7 +286,7 @@
     mobile = False
     block = True
 
-    def setup(self, name, world, dsm, state, facing, block):
+    def setup(self, name, world, dsm, state, block, facing=None):
         NPC.setup(self, name, world, dsm, state, facing)
         self.block = block
         self._animation = 'standing'