- 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:
wagic.the.homebrew
2008-11-30 11:47:47 +00:00
parent f4cb587426
commit 9ec06eb4e7
13 changed files with 31 additions and 35 deletions

View File

@@ -590,7 +590,7 @@ int ActionStack::CombatDamages(int strike){
if (damageitems){
addAction(damages);
}else{
delete damages;
SAFE_DELETE(damages);
}
return damageitems;
}
@@ -602,7 +602,7 @@ int ActionStack::garbageCollect(){
if (current->state != NOT_RESOLVED){
mObjects[i] = mObjects[mCount-1];
mCount--;
delete current;
SAFE_DELETE(current);
}
}
return 1;