I am still juggling with the code, I will look at the diff again afterwards...
It seems that same inicialization of int32_t and assigning a negative value at the same time led to nonsense number. Probably right side of equation was treated as unsigned integer or something like this... -- https://code.launchpad.net/~widelands-dev/widelands/militarysites_tweaks/+merge/255132 Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/militarysites_tweaks into lp:widelands. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp