Ignore:
Timestamp:
10/31/09 15:11:33 (10 years ago)
Author:
Kaydeth_parpg
Message:

Ticket #73. Patch by Kaydeth. Most of the changes were made to the map loading logic in the Engine, World, and Map classes to make sure it could handle loading maps after the game state has been restored by a load game. Also added a floating door back to both maps so map changing can still be tested in game. fixes[s:trac, t:73]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gamestate.py

    r314 r356  
    2626        self.current_map_file = None 
    2727        self.current_map_name = None 
     28        #these coordinates are only used for saving and loading the game. 
     29        #They do not represent the pc's active location 
     30        self.saved_pc_coordinates = (0,0) 
    2831         
    2932    def getObjectsFromMap(self, map_id): 
     
    4548        if obj_id in self.objects[map_id]: 
    4649            return self.objects[map_id][obj_id] 
    47  
     50         
Note: See TracChangeset for help on using the changeset viewer.