From 3a38bc6ff958feadd0ccb7eb28c15f4a61fba07a Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 22 Mar 2016 09:56:07 +0100 Subject: Core/AuctionHouse: Fix compile --- src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp index 76dc088126c..2800167add7 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp @@ -739,7 +739,7 @@ void AuctionBotSeller::SetPricesOfItem(ItemTemplate const* itemProto, SellerConf // Determines the stack size to use for the item uint32 AuctionBotSeller::GetStackSizeForItem(ItemTemplate const* itemProto, SellerConfiguration& config) const { - if (config.GetRandomStackRatioPerClass(ItemClass(itemProto->GetClass)) > urand(0, 99)) + if (config.GetRandomStackRatioPerClass(ItemClass(itemProto->GetClass())) > urand(0, 99)) return urand(1, itemProto->GetMaxStackSize()); else return 1; -- cgit v1.2.3