Ignore:
Timestamp:
03/01/11 21:30:37 (8 years ago)
Author:
aspidites
Message:

Patch by Aspidites:

+ fixed walk speed regression, though in the future, it may be more elegant

to pass the model's settings instance to a PlayableCharacter? constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/active/character_customization/game/parpg/gamemodel.py

    r756 r757  
    648648        self.game_state.player_character = player_char 
    649649        self.game_state.player_character.setup()         
     650        print self.game_state.player_character 
     651        print self.game_state.player_character.behaviour.speed 
     652        pc_speed = self.settings.parpg.PCSpeed 
     653        self.game_state.player_character.behaviour.speed = pc_speed 
    650654 
    651655    def addObject(self, layer, obj): 
Note: See TracChangeset for help on using the changeset viewer.