aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-10-05 16:36:53 +0200
committerMachiavelli <none@none>2009-10-05 16:36:53 +0200
commit2c34b6f3ff74d05acd7e122dc1ba016902175d23 (patch)
treea668f7e5e351fc6c8e00271dfbd6915a5fa6da35 /src
parent4cbc110408555c690f4b581aac187b6a8d55bcfd (diff)
* Change conditions of assert so *nix is happy compiling.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/AuctionHouseMgr.cpp4
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;