From 4ad4326c53b5a65abc96307be2035e785b23e8eb Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 24 Oct 2016 16:53:19 +0200 Subject: [PATCH] another compile try fix --- src/server/game/Entities/Item/Item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/game/Entities/Item/Item.cpp b/src/server/game/Entities/Item/Item.cpp index 9e7e5b4e7d..2f71385090 100644 --- a/src/server/game/Entities/Item/Item.cpp +++ b/src/server/game/Entities/Item/Item.cpp @@ -1306,7 +1306,7 @@ uint32 Item::GetSellPrice(ItemTemplate const* proto, bool& normalSellPrice) { normalSellPrice = true; - if (proto->Flags2 & ITEM_FLAGS_EXTRA_HAS_NORMAL_PRICE) + if (proto->Flags2 & ITEM_FLAG2_OVERRIDE_GOLD_COST) { return proto->BuyPrice; } @@ -1425,7 +1425,7 @@ uint32 Item::GetSpecialPrice(ItemTemplate const* proto, uint32 minimumPrice /*= { uint32 cost = 0; - if (proto->Flags2 & ITEM_FLAGS_EXTRA_HAS_NORMAL_PRICE) + if (proto->Flags2 & ITEM_FLAG2_OVERRIDE_GOLD_COST) cost = proto->SellPrice; else {