Ignore:
Timestamp:
07/30/10 06:41:28 (9 years ago)
Author:
beliar
Message:

Patch by Domtron_Vox and Beliar.

  • Items being dragged will now be removed from the "real" container when dragging them rather when dropping them. (Beliar)
  • Items from other containers can now be switched with items in the Inventory when dropped on top of them. Does not work the other way around yet. (Domtron_Vox)
File:
1 edited

Legend:

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

    r603 r605  
    369369        self.model.addAgent("All", agent) 
    370370        self.model.placeAgents() 
    371         self.item.in_container.takeItem(self.item)         
    372371        super(DropItemAction, self).execute() 
    373372         
Note: See TracChangeset for help on using the changeset viewer.