3.19 Upgrade Problem

EATherrian

Chieftain
Joined
Sep 23, 2003
Messages
5
Hi all,

I read through the threads but did not see this. I recently upgraded to 3.19 for BTS and noticed last night that when I did an alt-upgrade for a unit type not all of that unit would upgrade. These units are all garrison units, non-moving and not new. In fact for some of the upgrades it took me 5-6 different alt-upgrades to actually upgrade them all. Am I the only one getting this problem? Anyone have any idea how to fix it?

Thanks,

Bill
 
Yes there is a issue with the "Upgrade all units" function in 3.19 ( and probably previous versions of BtS as well ), ori. See here and subsequent posts.

Quoting jdog some posts after...
Well, that was a fun bug ... a classic example of the dangers of using pointers. The loop upgrading all units had a check for whether the loop unit was of the same type as the original unit, but used a pointer to the original unit. At some iteration of the loop, the original unit would be upgraded and what the pointer pointed to would change, short-circuiting the upgrade. Saving the unit type to upgrade before the loop was all it took to fix.
The fix he is refering is the 3.19 Unofficial pacth ;)
 
Awesome. That patch looks like it will do the trick! I'll download it when I get home today.
 
Back
Top Bottom