Mercurial > repos > IBBoard.WarFoundry.API
changeset 430:7e95b880f9cc
Re #356: Stack overflow with certain equipment limits
* Set sensible default equipment cost multiplier
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 06 Nov 2011 20:44:53 +0000 |
parents | 7179c585d31d |
children | c8002429ab45 |
files | API/Objects/UnitEquipmentItem.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/API/Objects/UnitEquipmentItem.cs Sun Nov 06 20:21:57 2011 +0000 +++ b/API/Objects/UnitEquipmentItem.cs Sun Nov 06 20:44:53 2011 +0000 @@ -19,7 +19,7 @@ private EquipmentItem item; private bool required; private bool roundUp; - private double costMultiplier; + private double costMultiplier = 1; private RoundType roundType; private string[] mutexGroups; private UnitType unitType;