mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-02 02:15:58 -04:00
partial reinstatement of the revert; the changing of the increment of the loop vars was a dumb idea
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user