* Change conditions of assert so *nix is happy compiling.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user