summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-04-30 19:16:05 +0200
committerAetias <aetias@outlook.com>2024-04-30 19:16:05 +0200
commit64e4cae74837f6e1a035ada889fb06351859fbac (patch)
tree2a53e48581a2061bcea6ad951f66ca071923181d /src
parent5fed1c8b0998680d7addd97282a8033c346e5613 (diff)
Decomp `ItemManager::HasShipPartPriceShown`
Diffstat (limited to 'src')
-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 f46fa040..e89587f9 100644
--- a/src/00_Core/Item/ItemManager.cpp
+++ b/src/00_Core/Item/ItemManager.cpp
@@ -965,3 +965,7 @@ THUMB void ItemManager::PlayItemFanfareSfx(ItemId item) {
}
PlaySoundEffect(&data_ov00_020eec68, sfx);
}
+
+THUMB bool ItemManager::HasShipPartPriceShown(ShipPart part, ShipType type) const {
+ return GET_FLAG(mShipPartPricesShown.flags, part * ShipType_COUNT + type);
+}