diff gui/hud.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 06145a6ee387
children 535801aec63e
line wrap: on
line diff
--- a/gui/hud.py	Tue Sep 06 15:21:36 2011 +0200
+++ b/gui/hud.py	Tue Sep 06 15:22:51 2011 +0200
@@ -163,7 +163,7 @@
 #            'toggleInventoryButton': self.toggleInventoryButton,
 #        }
 #        self.inventory_storage = \
-#            self.model.game_state.player_character.inventory
+#            self.model.game_state.getObjectById("PlayerCharacter").fifeagent.inventory
 #        if self.inventory == None:
 #            self.inventory = inventorygui.InventoryGUI(self.controller,
 #                                                       self.inventory_storage,
@@ -508,5 +508,5 @@
                     self.controller,
                     npc,
                     self.model.game_state.quest_engine,
-                    self.model.game_state.player_character)
+                    self.model.game_state.getObjectById("PlayerCharacter").fifeagent)
         return dialogue