mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
fix for a VERY old bug related to wrong display of attack range
see https://forum.megaglest.org/index.php?topic=9567.0 this is a bug found in glest 2.0 !!!
This commit is contained in:
parent
e39fb8e8e4
commit
ea1be62242
@ -266,7 +266,7 @@ string AttackCommandType::getDesc(const TotalUpgrade *totalUpgrade, bool transla
|
|||||||
//attack distance
|
//attack distance
|
||||||
str+= lang.getString("AttackDistance",(translatedValue == true ? "" : "english"))+": "+intToStr(attackSkillType->getAttackRange());
|
str+= lang.getString("AttackDistance",(translatedValue == true ? "" : "english"))+": "+intToStr(attackSkillType->getAttackRange());
|
||||||
if(totalUpgrade->getAttackRange(attackSkillType) != 0) {
|
if(totalUpgrade->getAttackRange(attackSkillType) != 0) {
|
||||||
str+= "+"+intToStr(totalUpgrade->getAttackRange(attackSkillType) != 0);
|
str+= "+"+intToStr(totalUpgrade->getAttackRange(attackSkillType));
|
||||||
}
|
}
|
||||||
str+="\n";
|
str+="\n";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user