| 137 | short RPickups[16]; |
| 138 | |
| 139 | bool SetInventoryCount(GAME_OBJECT_ID objectID, int count) |
| 140 | { |
| 141 | if (!TryModifyWeapon(Lara, objectID, count, ModificationType::Set) && |
| 142 | !TryModifyingAmmo(Lara, objectID, count, ModificationType::Set) && |
| 143 | !TryModifyingKeyItem(Lara, objectID, count, ModificationType::Set) && |
| 144 | !TryModifyingConsumable(Lara, objectID, count, ModificationType::Set) && |
| 145 | !TryModifyMiscCount(Lara, objectID, count, ModificationType::Set)) |
| 146 | { |
| 147 | return false; |
| 148 | } |
| 149 | |
| 150 | return true; |
| 151 | } |
| 152 | |
| 153 | void PickedUpObject(GAME_OBJECT_ID objectID, std::optional<int> count) |
| 154 | { |
no test coverage detected