partial reinstatement of the revert; the changing of the increment of the loop vars was a dumb idea

This commit is contained in:
DarthArgus
2016-01-15 22:55:41 -06:00
parent a46ab49bda
commit a155f583d0
@@ -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;
}
}