Changeset 336 for trunk


Ignore:
Timestamp:
10/19/09 06:36:56 (10 years ago)
Author:
eliedebrauwer
Message:

Ticket #122: Patch by eliedebrauwer, fixed problem with target position in the loading/saving of the map, map.xml is still faulty. comments[s:trac, t:122]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/local_loaders/xmlmap.py

    r328 r336  
    331331                inst_dict["target_map_name"] = instance.get('target_map_name') 
    332332                inst_dict["target_map"] = instance.get('target_map') 
    333                 inst_dict["target_pos"] = (instance.get('target_x'), \ 
    334                                            instance.get('target_y')) 
     333                inst_dict["target_x"] = instance.get('target_x') 
     334                inst_dict["target_y"] = instance.get('target_y') 
     335 
    335336                self.data.createObject(layer, inst_dict, inst) 
    336337                 
Note: See TracChangeset for help on using the changeset viewer.