MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: ctz on 30 September 2014, 02:33:09

Title: [fixed]Range upgrade is always displayed as "+1"
Post by: ctz on 30 September 2014, 02:33:09
This seems to be an old bug (https://forum.megaglest.org/index.php?topic=2046.msg9749).

The relevant code is here (https://github.com/MegaGlest/megaglest-source/blob/develop/source/glest_game/types/command_type.cpp#L269).  Removing the "!=0" on what is now line 269 should fix it, as noted in the other post.
Title: Re: Range upgrade is always displayed as "+1"
Post by: titi on 30 September 2014, 23:26:51
fixed in ea1be622428a9608bd38a0de32b7938c3084533d (https://github.com/MegaGlest/megaglest-source/commit/ea1be622428a9608bd38a0de32b7938c3084533d)