Erwan
- fixed a problem with DOS card files under psp/linux - Added a bunch of SAFE_DELETE, not sure they're really necessary - fixed a small interface problem in Shop
This commit is contained in:
@@ -17,7 +17,7 @@ DeckStats * DeckStats::GetInstance(){
|
||||
void DeckStats::cleanStats(){
|
||||
map<string,DeckStat *>::iterator it;
|
||||
for (it = stats.begin(); it != stats.end(); it++){
|
||||
delete(it->second);
|
||||
SAFE_DELETE(it->second);
|
||||
}
|
||||
stats.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user