MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / haveEnoughMoneyForOneMoreUnit

Method haveEnoughMoneyForOneMoreUnit

src/Savegame/Production.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89bool Production::haveEnoughMoneyForOneMoreUnit(SavedGame * g)
90{
91 return (g->getFunds() >= _rules->getManufactureCost ());
92}
93
94bool Production::haveEnoughMaterialsForOneMoreUnit(Base * b)
95{

Callers

nothing calls this directly

Calls 2

getFundsMethod · 0.80
getManufactureCostMethod · 0.80

Tested by

no test coverage detected