- Joined
- Jan 25, 2011
- Messages
- 2,289
Allow me to elaborate.
I am experimenting with using a hashtable to store what items is lootable/loaded into my custom inventory, when a corpse unit is being looted.
At a point in this process I need to overwrite a key in the hashtable.
Do I need to clear the child of the LOOT_UnitID before storing a new item in the key or can I just overwrite it without any leaks?
If it is unclear what I mean please say so.
I am experimenting with using a hashtable to store what items is lootable/loaded into my custom inventory, when a corpse unit is being looted.
At a point in this process I need to overwrite a key in the hashtable.
- Hashtable - Save Handle Of(Item carried by COM_DyingUnit in slot 1) as 1 of LOOT_UnitID in LOOT_Hashtable
Do I need to clear the child of the LOOT_UnitID before storing a new item in the key or can I just overwrite it without any leaks?
If it is unclear what I mean please say so.