Decomp ItemManager::AddShipPartPriceShown

This commit is contained in:
Aetias
2024-04-30 19:17:11 +02:00
parent 64e4cae748
commit 5d7c46a975
4 changed files with 6 additions and 28 deletions
+4
View File
@@ -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);
}