object - commandobject - platoon
int CannonRequiresSupply(int nUnit, int nCannonNum)
Scope: private
Parameters
nUnit - unit number
nCannonNum - cannon number.
Return values
True if cannon nCannonNum of unit nUnit in platoon requires external ammo supply, false otherwise.
Description
[MP]
Result of this function dosn't depend on current ammo count.
If nCannonNum == -1 then function returns true if at least one of cannons requires
external ammo supply.
See also