Skip to content
Permalink
Browse files
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 !!!
  • Loading branch information
titiger committed Sep 30, 2014
1 parent e39fb8e commit ea1be622428a9608bd38a0de32b7938c3084533d
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/glest_game/types/command_type.cpp
@@ -266,7 +266,7 @@ string AttackCommandType::getDesc(const TotalUpgrade *totalUpgrade, bool transla
//attack distance
str+= lang.getString("AttackDistance",(translatedValue == true ? "" : "english"))+": "+intToStr(attackSkillType->getAttackRange());
if(totalUpgrade->getAttackRange(attackSkillType) != 0) {
str+= "+"+intToStr(totalUpgrade->getAttackRange(attackSkillType) != 0);
str+= "+"+intToStr(totalUpgrade->getAttackRange(attackSkillType));
}
str+="\n";

0 comments on commit ea1be62

Please sign in to comment.