summaryrefslogtreecommitdiff
path: root/src/ItemManager.cpp
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-02-18 11:41:18 +0100
committerAetias <aetias@outlook.com>2024-02-18 11:41:18 +0100
commit64aea4ed325147a4d66b95b1eb514aad08c3e734 (patch)
treeb44c0e9cd388609307b3dddd4c4e7de2f50c1718 /src/ItemManager.cpp
parent2c46503ca1bc793f8c5028cbd21757f69c637127 (diff)
Decomp `ItemManager::GetTreasureCount`
Diffstat (limited to 'src/ItemManager.cpp')
-rw-r--r--src/ItemManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ItemManager.cpp b/src/ItemManager.cpp
index 2d37ca5d..480e96cd 100644
--- a/src/ItemManager.cpp
+++ b/src/ItemManager.cpp
@@ -288,3 +288,7 @@ THUMB void ItemManager::SetShipPartCount(ShipPart part, ShipType type, s8 count)
if (count > 99) count = 99;
this->mShipParts[part][type] = count;
}
+
+THUMB s8 ItemManager::GetTreasureCount(Treasure treasure) const {
+ return this->mTreasure[treasure];
+}