////////////////////////////////////////////////////////////// adds a type/id item to the inventory (returns true on success)
| 239 | /////////////////////////////////////////////////////////////////// |
| 240 | // adds a type/id item to the inventory (returns true on success) |
| 241 | bool dInven_Add(Inventory *inven, int type, int id, object *parent, int aux_type, int aux_id, int flags, |
| 242 | char *description) { |
| 243 | return inven->Add(type, id, parent, aux_type, aux_id, flags, description); |
| 244 | } |
| 245 | |
| 246 | // adds an object to the inventory (marked by it's objhandle) |
| 247 | bool dInven_AddObject(Inventory *inven, int object_handle, int flags, char *description) { |