Ignore:
Timestamp:
11/06/09 16:43:40 (10 years ago)
Author:
saritor
Message:

Ticket #151: Patch by saritor.

  • Modifies door object calling arguements to properly use target position data passed with map xml file.
  • fixes[s:trac, t:151]
File:
1 edited

Legend:

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

    r317 r373  
    2525    def __init__ (self, ID, name = 'Shanty Door', \ 
    2626            text = 'A door', gfx = 'shanty-door', target_map_name = 'my-map', \ 
    27             target_map = 'map.xml', target_pos = (0.0, 0.0), \ 
     27            target_map = 'map.xml', target_x = 0.0, target_y = 0.0,\ 
    2828            **kwargs): 
    2929        Door.__init__(self, ID = ID, name = name, text = text, gfx = gfx, \ 
    3030            target_map_name = target_map_name, target_map = target_map, \ 
    31             target_pos = target_pos, **kwargs) 
     31            target_x = target_x, target_y = target_y, **kwargs) 
    3232 
Note: See TracChangeset for help on using the changeset viewer.