Commit 2fc6f7fd authored by nanahira's avatar nanahira

typo

parent 8f1b072c
...@@ -89,7 +89,7 @@ int DeckManager::CheckDeck(Deck& deck, int lfhash, int rule) { ...@@ -89,7 +89,7 @@ int DeckManager::CheckDeck(Deck& deck, int lfhash, int rule) {
if(!list) if(!list)
return 0; return 0;
int dc = 0; int dc = 0;
if(deck.main.size() < YGOPRO_MMIN_DECK || deck.main.size() > YGOPRO_MAX_DECK) if(deck.main.size() < YGOPRO_MIN_DECK || deck.main.size() > YGOPRO_MAX_DECK)
return (DECKERROR_MAINCOUNT << 28) + deck.main.size(); return (DECKERROR_MAINCOUNT << 28) + deck.main.size();
if(deck.extra.size() > YGOPRO_MAX_EXTRA) if(deck.extra.size() > YGOPRO_MAX_EXTRA)
return (DECKERROR_EXTRACOUNT << 28) + deck.extra.size(); return (DECKERROR_EXTRACOUNT << 28) + deck.extra.size();
......
...@@ -872,8 +872,8 @@ extern Game* mainGame; ...@@ -872,8 +872,8 @@ extern Game* mainGame;
#define YGOPRO_MAX_DECK 60 #define YGOPRO_MAX_DECK 60
#endif #endif
#ifndef YGOPRO_MMIN_DECK #ifndef YGOPRO_MIN_DECK
#define YGOPRO_MMIN_DECK 40 #define YGOPRO_MIN_DECK 40
#endif #endif
#ifndef YGOPRO_MAX_EXTRA #ifndef YGOPRO_MAX_EXTRA
......
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