and fix a ton more minor performance issues

This commit is contained in:
DarthArgus
2014-10-27 22:39:57 -07:00
parent 14eaf713d0
commit c9c39d5713
97 changed files with 266 additions and 376 deletions
@@ -657,13 +657,11 @@ AuctionMarket::~AuctionMarket()
//We need to delete the auction and auction location objects
for (std::map<NetworkId, Auction *>::iterator i = m_auctions.begin(); i != m_auctions.end(); ++i)
{
if ((*i).second)
delete (*i).second;
delete (*i).second;
}
for (std::map<NetworkId, AuctionLocation *>::iterator i = m_locationIdMap.begin(); i != m_locationIdMap.end(); ++i)
{
if ((*i).second)
delete (*i).second;
delete (*i).second;
}
}