mirror of
https://github.com/glest/glest-source.git
synced 2025-09-03 04:52:34 +02:00
needed ressource display fixed
This commit is contained in:
@@ -643,9 +643,9 @@ string UnitType::getReqDesc() const{
|
||||
resultTxt+="\n"+lang.get("MaxUnitCount")+" "+intToStr(getMaxUnitCount());
|
||||
}
|
||||
if(resultTxt=="")
|
||||
return RequirableType::getReqDesc();
|
||||
return ProducibleType::getReqDesc();
|
||||
else
|
||||
return RequirableType::getReqDesc()+"\nLimits: "+resultTxt;
|
||||
return ProducibleType::getReqDesc()+"\nLimits: "+resultTxt;
|
||||
}
|
||||
|
||||
std::string UnitType::toString() const {
|
||||
|
Reference in New Issue
Block a user