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:
@@ -19,7 +19,7 @@ class DeckDataWrapper: public WSrcDeck {
|
||||
bool next() {currentPos++; return true;};
|
||||
bool prev() {currentPos--; return true;};
|
||||
void save();
|
||||
void save(string filepath, bool useExpandedCardNames);
|
||||
void save(string filepath, bool useExpandedCardNames, string &deckTitle, string &deckDesc);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -150,7 +150,7 @@ class MTGDeck{
|
||||
int add(MTGCard * card);
|
||||
int remove(MTGCard * card);
|
||||
int save();
|
||||
int save(string destFileName, bool useExpandedDescriptions);
|
||||
int save(string destFileName, bool useExpandedDescriptions, string &deckTitle, string &deckDesc);
|
||||
MTGCard * getCardById(int id);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user