Changeset 509


Ignore:
Timestamp:
03/06/10 08:04:26 (10 years ago)
Author:
beliar
Message:

Fixed error in the "Test basic dialogue interaction" test.

File:
1 edited

Legend:

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

    r479 r509  
    6262        npc_name_cb = self.callbacks.get('npc_name') 
    6363        if npc_name_cb: 
    64             npc_name_cb(self.tree['NPC']) 
     64            npc_name_cb(self.state, self.tree['NPC']) 
    6565             
    6666        npc_avatar_cb = self.callbacks.get('npc_avatar') 
    6767        if npc_avatar_cb: 
    68             npc_avatar_cb(self.tree['AVATAR']) 
     68            npc_avatar_cb(self.state, self.tree['AVATAR']) 
    6969 
    7070        try: 
Note: See TracChangeset for help on using the changeset viewer.