diff dialoguecontroller.py @ 44:98f26f7636d8

Changes to make PARPG "runable" with grease. (With the correct modified assets)
author KarstenBock@gmx.net
date Tue, 06 Sep 2011 15:22:51 +0200
parents 7b31de1dc964
children d3a9caba067b
line wrap: on
line diff
--- a/dialoguecontroller.py	Tue Sep 06 15:21:36 2011 +0200
+++ b/dialoguecontroller.py	Tue Sep 06 15:22:51 2011 +0200
@@ -44,7 +44,7 @@
     def startTalk(self, npc):
         if npc.dialogue is not None:
             self.model.active_map.centerCameraOnPlayer()            
-            npc.talk(self.model.game_state.player_character)
+            npc.talk(self.model.game_state.getObjectById("PlayerCharacter").fifeagent)
             self.dialogue = self.view.hud.showDialogue(npc)
             self.dialogue.initiateDialogue()
             self.model.pause(True)