uses an item in the inventory (also reduces its count by one...if there is no more, then it goes bye-bye)
| 260 | |
| 261 | // uses an item in the inventory (also reduces its count by one...if there is no more, then it goes bye-bye) |
| 262 | bool dInven_Use(Inventory *inven, int type, int id, object *parent) { return inven->Use(type, id, parent); } |
| 263 | |
| 264 | // uses an item in the inventory (given it's objhandle). |
| 265 | bool dInven_UseObjHandle(Inventory *inven, int objhandle, object *parent) { return inven->Use(objhandle, parent); } |