Inventory AddItemTypeID wrapper
| 70 | |
| 71 | // Inventory AddItemTypeID wrapper |
| 72 | bool InvAddTypeID(int playernum, int type, int id, int aux_type, int aux_id, int flags, const char *description) { |
| 73 | ASSERT((playernum >= 0) && (playernum < MAX_PLAYERS)); |
| 74 | |
| 75 | return Players[playernum].inventory.Add(type, id, &Objects[Players[playernum].objnum], aux_type, aux_id, flags, description); |
| 76 | } |
| 77 | |
| 78 | // Inventory Remove wrapper |
| 79 | bool InvRemove(int playernum, int type, int id) { |