summaryrefslogtreecommitdiff
path: root/src/00_Core/Item/ItemManager.cpp
diff options
context:
space:
mode:
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 23c5b080..418555ac 100644
--- a/src/00_Core/Item/ItemManager.cpp
+++ b/src/00_Core/Item/ItemManager.cpp
@@ -977,3 +977,7 @@ THUMB void ItemManager::AddShipPartPriceShown(ShipPart part, ShipType type) {
THUMB bool ItemManager::HasTreasurePriceShown(Treasure treasure) const {
return GET_FLAG(mTreasurePriceShownFlags, treasure);
}
+
+THUMB void ItemManager::AddTreasurePriceShown(Treasure treasure) {
+ SET_FLAG(mTreasurePriceShownFlags, treasure);
+}