Glest version 2.0.0.
After upgrade that increase attack range, explanation in attack command button show always +1.
It seems that in command_type.cpp is misspelling in line 207:
//attack distance
str+= lang.get("AttackDistance")+": "+intToStr(attackSkillType->getAttackRange());
if(totalUpgrade->getAttackRange()!=0){
str+= "+"+intToStr(totalUpgrade->getAttackRange()!=0);
}
str+="\n";
There is unnecessary second !=0.
If we have attack range upgrade, we have always true (+1).