Erwan
- _cards.dat parsing error fixes on erroneous files - replaced cards array with a vector for MTGGameZones
This commit is contained in:
@@ -21,7 +21,7 @@ class GameApp;
|
||||
class MTGCard;
|
||||
|
||||
|
||||
#define MAX_SETS 30
|
||||
#define MAX_SETS 50
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class MTGGameZone {
|
||||
public:
|
||||
Player * owner;
|
||||
//Both cards and cardsMap contain the cards of a zone. The long term objective is to get rid of the array
|
||||
MTGCardInstance * cards[MTG_MAX_PLAYER_CARDS];
|
||||
vector<MTGCardInstance *> cards; //[MTG_MAX_PLAYER_CARDS];
|
||||
map<MTGCardInstance *,int> cardsMap;
|
||||
int nb_cards;
|
||||
MTGGameZone();
|
||||
|
||||
Reference in New Issue
Block a user