| 199 | } |
| 200 | |
| 201 | void RemoveObjectFromInventory(GAME_OBJECT_ID objectID, std::optional<int> count) |
| 202 | { |
| 203 | // See if the items fit into one of these easy groups. |
| 204 | if (!TryRemovingWeapon(Lara, objectID) && |
| 205 | !TryRemovingAmmo(Lara, objectID, count) && |
| 206 | !TryRemovingKeyItem(Lara, objectID, count) && |
| 207 | !TryRemovingConsumable(Lara, objectID, count) && |
| 208 | !TryRemoveMiscItem(Lara, objectID)) |
| 209 | { |
| 210 | // Item isn't any of the above; do nothing. |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | static void HideOrDisablePickup(ItemInfo& pickupItem) |
| 215 | { |
no test coverage detected