From 2c34b6f3ff74d05acd7e122dc1ba016902175d23 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Mon, 5 Oct 2009 16:36:53 +0200 Subject: * Change conditions of assert so *nix is happy compiling. --HG-- branch : trunk --- src/game/AuctionHouseMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/AuctionHouseMgr.cpp b/src/game/AuctionHouseMgr.cpp index a57456a71c6..294beed2fb7 100644 --- a/src/game/AuctionHouseMgr.cpp +++ b/src/game/AuctionHouseMgr.cpp @@ -504,7 +504,7 @@ void AuctionHouseObject::Update() time_t curTime = sWorld.GetGameTime(); ///- Handle expired auctions - // If storage is empty, no need to update. + // If storage is empty, no need to update. next == NULL in this case. if (AuctionsMap.empty()) return; @@ -512,7 +512,7 @@ void AuctionHouseObject::Update() if (next == AuctionsMap.end()) next = AuctionsMap.begin(); - ASSERT(next != NULL); + ASSERT(next != AuctionsMap.end()); uint32 loopBreaker = 0; -- cgit v1.2.3