Jeck - Cleaned up and reordered some menus, fixed potential heap corruption in GameStateShop.

This commit is contained in:
wagic.jeck
2010-02-08 08:54:55 +00:00
parent 74254e4721
commit e96d4b9a07
5 changed files with 24 additions and 13 deletions

View File

@@ -415,7 +415,7 @@ int WSrcDeck::totalPrice(){
int nb = it->second;
if (nb) total += pricelist->getPrice(it->first);
}
delete pricelist;
SAFE_DELETE(pricelist);
return total;
}