diff options
Diffstat (limited to 'src/ItemManager.cpp')
| -rw-r--r-- | src/ItemManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ItemManager.cpp b/src/ItemManager.cpp index 4582686b..abca58d5 100644 --- a/src/ItemManager.cpp +++ b/src/ItemManager.cpp @@ -279,3 +279,7 @@ THUMB ShipType ItemManager::GetEquippedShipPart(ShipPart part) const { THUMB void ItemManager::EquipShipPart(ShipPart part, ShipType type) {
this->mEquippedShipParts[part] = type;
}
+
+THUMB s8 ItemManager::GetShipPartCount(ShipPart part, ShipType type) const {
+ return this->mShipParts[part][type];
+}
|
