fixed bug with saving brand new AI decks.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user