Commit 5fba5773 authored by Adam Leyshon's avatar Adam Leyshon
Browse files

Make sure we really only override if there's an override price set.

parent 1e3e524c
......@@ -294,8 +294,8 @@ namespace Glitterworld_Prime
// So the use prices defined by the database.
if (gwi.UseServerPrice)
{
priceSell = gwi.SellPriceOverride != 0 ? gwi.SellPriceOverride : gwi.CurrentSellPrice;
priceBuy = gwi.BuyPriceOverride != 0 ? gwi.BuyPriceOverride : gwi.CurrentBuyPrice;
priceSell = gwi.SellPriceOverride > 0 ? gwi.SellPriceOverride : gwi.CurrentSellPrice;
priceBuy = gwi.BuyPriceOverride > 0 ? gwi.BuyPriceOverride : gwi.CurrentBuyPrice;
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment