Skip to content

Commit 0fc6a5a

Browse files
committed
Disregard ship cost, as loadouts are now additive
1 parent 4aa2081 commit 0fc6a5a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Source/Menus/BuyMenuGUI.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,13 +2189,6 @@ void BuyMenuGUI::AddPresetsToItemList() {
21892189
pPassenger = dynamic_cast<const Actor*>(*cItr);
21902190
}
21912191

2192-
// Add the ship's cost, if there is one defined
2193-
if ((*lItr).GetDeliveryCraft()) {
2194-
loadoutLabel += " via " + (*lItr).GetDeliveryCraft()->GetPresetName();
2195-
// Adjust price for foreignness of the ship to this player
2196-
loadoutCost += (*lItr).GetDeliveryCraft()->GetGoldValue(m_NativeTechModule, m_ForeignCostMult);
2197-
}
2198-
21992192
// Make the cost label
22002193
std::snprintf(costString, sizeof(costString), "%.0f", loadoutCost);
22012194
// Get a good icon and wrap it, while not passing ownership into the AllegroBitmap

0 commit comments

Comments
 (0)