Ignore:
Timestamp:
07/11/10 13:50:17 (9 years ago)
Author:
beliar
Message:

Patch by Beliar.

  • Changes according to our coding standards
  • Updated pylintrc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/objects/action.py

    r572 r579  
    219219           @return: None""" 
    220220       
    221         player_char = self.model.game_state.PlayerCharacter 
     221        player_char = self.model.game_state.player_character 
    222222        npc_coordinates = self.npc.getLocation().getLayerCoordinates() 
    223223        pc_coordinates = player_char.behaviour.agent.\ 
     
    246246                self.npc.behaviour.agent.say("Leave me alone!", 1000) 
    247247                 
    248             self.model.game_state.PlayerCharacter.behaviour.idle() 
    249             self.model.game_state.PlayerCharacter.nextAction = None 
     248            self.model.game_state.player_character.behaviour.idle() 
     249            self.model.game_state.player_character.nextAction = None 
    250250            super(TalkAction, self).execute() 
    251251 
Note: See TracChangeset for help on using the changeset viewer.