diff --git a/pk3DS/Subforms/Item.cs b/pk3DS/Subforms/Item.cs index 32161df..30200e9 100644 --- a/pk3DS/Subforms/Item.cs +++ b/pk3DS/Subforms/Item.cs @@ -62,7 +62,7 @@ private void formClosing(object sender, FormClosingEventArgs e) private void changePrice(object sender, EventArgs e) { - MT_Sell.Text = ((Math.Min(Util.ToUInt32(MT_Price), 0x7FFF) / 10) * 10 / 2).ToString(); + MT_Sell.Text = ((Math.Min(Util.ToUInt32(MT_Price) / 10, 0x7FFF)) * 10 / 2).ToString(); } } }