What steps will reproduce the problem?
1. if (Broodwar->canUpgrade(unit, type))
2. give me true if a unit can´t upgrade sometimes
What is the expected output? I should get false
What do you see instead? sometimes true
What version of the product are you using? 1.16.1
On what operating system? Windows Vista
Please provide any additional information below.
I am trying to upgrade EngineeringBay for terran
and starting to push all my upgrades to a vector, total 6.
After that I call Broodwar->canUpgrade(unit, type) at regular
times. And even if I have not build a science building it give me
true sometimes after I have upgraded to level 1.
Original issue reported on code.google.com by jerry.ra...@gmail.com on 16 Mar 2011 at 10:04
Original issue reported on code.google.com by
jerry.ra...@gmail.com
on 16 Mar 2011 at 10:04