diff --git a/src/game/AuctionHouseMgr.cpp b/src/game/AuctionHouseMgr.cpp index a57456a71c..294beed2fb 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;