Did that fix not make it into the more recent Beta 4.1 WIP files?This is going to be resurrected in the next post-7th January update zip. I want my unarmed ship back!![]()
Looks like I made an additional suggestion that you might want to consider including then as well:
Just in case....Then how about this?
Code:void SetNoneCannonsOnShip(ref ch) { //if (!CheckAttribute(ch,"ship.cannons.borts")) return; //aref arship; makearef(arship, ch.Ship); ch.Ship.Cannons.Borts.cannonf.qty = 0; ch.Ship.Cannons.Borts.cannonb.qty = 0; ch.Ship.Cannons.Borts.cannonl.qty = 0; ch.Ship.Cannons.Borts.cannonr.qty = 0; ch.Ship.Cannons.Type = CANNON_TYPE_NONECANNON; ch.Ship.stats.CannonsQuantity = 0; }