fixes ai deck saving bug pointed out by Zethfox.

TODO: fix text to the right of the box when saving ai deck.
This commit is contained in:
techdragon.nguyen@gmail.com
2010-10-27 03:00:39 +00:00
parent 56ba37feec
commit 28d3b9b9a9
5 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -17,9 +17,9 @@ void DeckDataWrapper::save(){
}
}
void DeckDataWrapper::save(string filepath, bool useExpandedCardNames){
void DeckDataWrapper::save(string filepath, bool useExpandedCardNames, string &deckTitle, string &deckDesc){
if(parent){
Rebuild(parent);
parent->save(filepath, useExpandedCardNames);
parent->save(filepath, useExpandedCardNames, deckTitle, deckDesc);
}
}