Mercurial > parpg-core
diff src/parpg/gui/hud.py @ 69:ad75fa042b99
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 | d60f1dab8469 |
children | 2e307c4f78e3 |
line wrap: on
line diff
--- a/src/parpg/gui/hud.py Tue Sep 06 15:21:36 2011 +0200 +++ b/src/parpg/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