diff --git a/src/UnitType.cpp b/src/UnitType.cpp index e6f2c1da8a3faff359cf444be50a63f718c6e770..b3478af36a9064436d90a89ddb3535312d3a87a7 100644 --- a/src/UnitType.cpp +++ b/src/UnitType.cpp @@ -84,8 +84,7 @@ bool UnitType::isCombatUnit() const bool UnitType::isSupplyProvider() const { - // TODO: Is this a bug? - return (supplyProvided() < 0) && !isResourceDepot(); + return (supplyProvided() > 0) && !isResourceDepot(); } bool UnitType::isResourceDepot() const