diff options
| author | Aetias <aetias@outlook.com> | 2024-04-30 19:17:11 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-30 19:17:11 +0200 |
| commit | 5d7c46a975366a8b871ed77b1f5d677cca03a590 (patch) | |
| tree | e71b9053aaee029359088e2ba2a34870d7f58bbf /src/00_Core/Item/ItemManager.cpp | |
| parent | 64e4cae74837f6e1a035ada889fb06351859fbac (diff) | |
Decomp `ItemManager::AddShipPartPriceShown`
Diffstat (limited to 'src/00_Core/Item/ItemManager.cpp')
| -rw-r--r-- | src/00_Core/Item/ItemManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/00_Core/Item/ItemManager.cpp b/src/00_Core/Item/ItemManager.cpp index e89587f9..c0350104 100644 --- a/src/00_Core/Item/ItemManager.cpp +++ b/src/00_Core/Item/ItemManager.cpp @@ -969,3 +969,7 @@ THUMB void ItemManager::PlayItemFanfareSfx(ItemId item) { THUMB bool ItemManager::HasShipPartPriceShown(ShipPart part, ShipType type) const {
return GET_FLAG(mShipPartPricesShown.flags, part * ShipType_COUNT + type);
}
+
+THUMB void ItemManager::AddShipPartPriceShown(ShipPart part, ShipType type) {
+ SET_FLAG(mShipPartPricesShown.flags, part * ShipType_COUNT + type);
+}
|
