*Reinit the iterator in each loop as the iter is removed from the list, in AuctionHouseObject::Update, by Trazom
*No longer disregard z/o in Map::CreatureRelocation, thanks Sisif *Cleanup, and make Divine Storm default to m_caster is no unitTarget is available *Some mtmaps optimization --HG-- branch : trunk
This commit is contained in:
@@ -528,9 +528,10 @@ void AuctionHouseObject::Update()
|
||||
} while (result->NextRow());
|
||||
delete result;
|
||||
|
||||
vector<uint32>::iterator iter = expiredAuctions.begin();
|
||||
while (!expiredAuctions.empty())
|
||||
{
|
||||
vector<uint32>::iterator iter = expiredAuctions.begin();
|
||||
|
||||
// from auctionhousehandler.cpp, creates auction pointer & player pointer
|
||||
AuctionEntry* auction = GetAuction(*iter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user