comparison FrmNewUnitEquipment.cs @ 96:057498981bde

Re #209: equipmentslot Value problem * Simple hack to stop the UI erroring - make sure that the value is between min and max Underlying problem still exists in the API as adding 1 as a percentage to a unit of 11 (9.1%) is actually 9.09% recurring, which is 1.001, which is rounded to 2 when calculating cost. Perhaps percentages need to always be rounded down instead of up/down based on equipment properties?
author IBBoard <dev@ibboard.co.uk>
date Mon, 09 Nov 2009 20:58:18 +0000
parents 0bb9f40d44eb
children c1a3993297b1
comparison
equal deleted inserted replaced
95:83c259516041 96:057498981bde