diff skaapsteker/sprites/base.py @ 217:fcc5eca8eaca

Add explicit starting state to avoid it magically appearing later.
author Simon Cross <hodgestar@gmail.com>
date Thu, 07 Apr 2011 00:59:08 +0200
parents 6e7faba82c21
children ec38a0b08729
line wrap: on
line diff
--- a/skaapsteker/sprites/base.py	Thu Apr 07 00:47:02 2011 +0200
+++ b/skaapsteker/sprites/base.py	Thu Apr 07 00:59:08 2011 +0200
@@ -136,8 +136,8 @@
         AnimatedGameSprite.__init__(self, pos, **opts)
         self._layer = Layers.PLAYER
 
-    def setup(self, name, world, dsm):
-        self.dsm = dialogue.DSM(name, world, dsm)
+    def setup(self, name, world, dsm, state):
+        self.dsm = dialogue.DSM(name, world, dsm, state)
 
 
     def collided_player(self, player):