changeset 157:6ff68daab5dc

Fixes #188: Add equipment window doesn't feature cost accurately * Make ToString() use UnitEquipmentItem's Cost property (which includes cost multiplier) rather than base cost
author IBBoard <dev@ibboard.co.uk>
date Tue, 29 Sep 2009 19:33:03 +0000
parents 62ff1ac132d2
children eb9a6d91a6db
files api/Objects/UnitEquipmentItem.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/api/Objects/UnitEquipmentItem.cs	Tue Sep 29 19:21:50 2009 +0000
     1.2 +++ b/api/Objects/UnitEquipmentItem.cs	Tue Sep 29 19:33:03 2009 +0000
     1.3 @@ -184,7 +184,7 @@
     1.4  
     1.5  		public override string ToString()
     1.6  		{
     1.7 -			return EquipmentItem.Name+ " ("+EquipmentItem.Cost+"pts each)";
     1.8 +			return EquipmentItem.Name + " (" + Cost + "pts each)";
     1.9  		}
    1.10  
    1.11  		public bool HasAlternatives()