Ignore:
Timestamp:
10/23/09 18:13:26 (10 years ago)
Author:
eliedebrauwer
Message:

Ticket #66: Patch by Saritor, This patch implements Kaydeth's camera fix as well as a fix for letting us be able to remove the PC entry on individual map files. However the very first map a player starts the game on will need such an entry. fixes[s:trac, t:66]

File:
1 edited

Legend:

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

    r324 r340  
    9090        """Sets the agent onto the new layer. 
    9191        """ 
    92         self.agent = layer.getInstance(self.parent.name) 
     92        self.agent.removeActionListener(self) 
     93        self.agent = layer.getInstance(self.parent.ID) 
    9394        self.agent.addActionListener(self) 
    9495        self.state = _AGENT_STATE_NONE 
Note: See TracChangeset for help on using the changeset viewer.