diff --git a/rts/Sim/Misc/Team.cpp b/rts/Sim/Misc/Team.cpp index 0e6770ba2c..0ddb512fb6 100644 --- a/rts/Sim/Misc/Team.cpp +++ b/rts/Sim/Misc/Team.cpp @@ -192,7 +192,7 @@ void CTeam::AddResources(SResourcePack amount, bool useIncomeMultiplier) bool CTeam::UseResources(const SResourcePack& amount) { - if (!(res >= amount)) + if (!HaveResources(amount)) return false; res -= amount;