* Change conditions of assert so *nix is happy compiling.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-10-05 16:36:53 +02:00
parent 4cbc110408
commit 2c34b6f3ff
+2 -2
View File
@@ -504,7 +504,7 @@ void AuctionHouseObject::Update()
time_t curTime = sWorld.GetGameTime(); time_t curTime = sWorld.GetGameTime();
///- Handle expired auctions ///- 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()) if (AuctionsMap.empty())
return; return;
@@ -512,7 +512,7 @@ void AuctionHouseObject::Update()
if (next == AuctionsMap.end()) if (next == AuctionsMap.end())
next = AuctionsMap.begin(); next = AuctionsMap.begin();
ASSERT(next != NULL); ASSERT(next != AuctionsMap.end());
uint32 loopBreaker = 0; uint32 loopBreaker = 0;