Commit bee45faa authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents f9bae21b 0f511244
...@@ -157,13 +157,14 @@ int DeckManager::LoadDeck(Deck& deck, int* dbuf, int mainc, int sidec) { ...@@ -157,13 +157,14 @@ int DeckManager::LoadDeck(Deck& deck, int* dbuf, int mainc, int sidec) {
} }
if(cd.type & TYPE_TOKEN) if(cd.type & TYPE_TOKEN)
continue; continue;
else if(cd.type & (TYPE_FUSION | TYPE_SYNCHRO | TYPE_XYZ | TYPE_LINK) && else if(cd.type & (TYPE_FUSION | TYPE_SYNCHRO | TYPE_XYZ | TYPE_LINK)) {
if(
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
deck.extra.size() < DECKCOUNT_EXTRA deck.extra.size() >= DECKCOUNT_EXTRA
#else #else
deck.extra.size() < 15 deck.extra.size() >= 15
#endif #endif
) { )
deck.extra.push_back(dataManager.GetCodePointer(code)); //verified by GetData() deck.extra.push_back(dataManager.GetCodePointer(code)); //verified by GetData()
} else } else
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment