summaryrefslogtreecommitdiff
path: root/src/00_Core/Item/ItemManager.cpp
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-04-30 19:18:07 +0200
committerAetias <aetias@outlook.com>2024-04-30 19:18:07 +0200
commit75f492f8c645385f27da12cc7f06708a8031f4d1 (patch)
treef51d43b84322a7f111d2320fb007ab6a72328693 /src/00_Core/Item/ItemManager.cpp
parent5d7c46a975366a8b871ed77b1f5d677cca03a590 (diff)
Decomp `ItemManager::HasTreasurePriceShown`
Diffstat (limited to 'src/00_Core/Item/ItemManager.cpp')
-rw-r--r--src/00_Core/Item/ItemManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/00_Core/Item/ItemManager.cpp b/src/00_Core/Item/ItemManager.cpp
index c0350104..23c5b080 100644
--- a/src/00_Core/Item/ItemManager.cpp
+++ b/src/00_Core/Item/ItemManager.cpp
@@ -973,3 +973,7 @@ THUMB bool ItemManager::HasShipPartPriceShown(ShipPart part, ShipType type) cons
THUMB void ItemManager::AddShipPartPriceShown(ShipPart part, ShipType type) {
SET_FLAG(mShipPartPricesShown.flags, part * ShipType_COUNT + type);
}
+
+THUMB bool ItemManager::HasTreasurePriceShown(Treasure treasure) const {
+ return GET_FLAG(mTreasurePriceShownFlags, treasure);
+}