Changeset 290 for trunk/game/scripts


Ignore:
Timestamp:
09/27/09 18:58:36 (10 years ago)
Author:
orlandov
Message:

Add a new test to fix broken unit test introduced by or1andov--

Location:
trunk/game/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/dialogue.py

    r288 r290  
    6262        self.section_stack = [] 
    6363 
    64         self.callbacks['npc_avatar'](self.tree['AVATAR']) 
     64        self.callbacks['npc_avatar'](self.state, self.tree['AVATAR']) 
    6565 
    6666        try: 
  • trunk/game/scripts/dialoguegui.py

    r288 r290  
    121121        self.npc.behaviour.idle() 
    122122 
    123     def handleAvatarImage(self, image): 
     123    def handleAvatarImage(self, state, image): 
    124124        """Callback to handle when the dialogue engine wants to set the NPC image 
    125125           @type image: str 
Note: See TracChangeset for help on using the changeset viewer.