fixed bug with saving brand new AI decks.

This commit is contained in:
techdragon.nguyen@gmail.com
2010-10-22 09:22:25 +00:00
parent e2de03d987
commit 34bdfab36f
4 changed files with 13 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ class DeckDataWrapper: public WSrcDeck {
bool next() {currentPos++; return true;};
bool prev() {currentPos--; return true;};
void save();
void save(string filepath, bool useExpandedCardNames);
};
#endif
+1 -1
View File
@@ -150,7 +150,7 @@ class MTGDeck{
int add(MTGCard * card);
int remove(MTGCard * card);
int save();
int save(string destFileName, bool useExpandedDescriptions, string deckName, string deckDesc);
int save(string destFileName, bool useExpandedDescriptions);
MTGCard * getCardById(int id);
};