object - commandobject - unit - tank - repairer
void SetUpgradeWeapons(int nNotUpgrade)
Scope: private
Parameters
nNotUpgrade - if equal 0 then we will upgrade cannons, if euqal 1 than we will not.
Return values
none
Description
This function is used to change cannon upgrade mode for upgrading units.
See also
SetUpgradeChasis, SetUpgradeShield