diff options
-rw-r--r-- | src/game/AuctionHouseMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |