Erwan
- fixed a few memory leaks (but Wagic still crashes on the PSP after a few games :( )
This commit is contained in:
@@ -39,6 +39,7 @@ AIPlayer::~AIPlayer(){
|
||||
stats->save();
|
||||
SAFE_DELETE(stats);
|
||||
}
|
||||
//TODO delete clickstream!
|
||||
}
|
||||
MTGCardInstance * AIPlayer::chooseCard(TargetChooser * tc, MTGCardInstance * source, int random){
|
||||
for (int i = 0; i < game->hand->nb_cards; i++){
|
||||
|
||||
Reference in New Issue
Block a user