Commit 6391e3f8 authored by nanahira's avatar nanahira

Merge branch 'patch-ccg' of github.com:Fluorohydride/ygopro

parents 01cf7051 55e81d41
...@@ -80,7 +80,7 @@ int DeckManager::IsGameRuleDisallowed(unsigned char hostInfoRule, unsigned int c ...@@ -80,7 +80,7 @@ int DeckManager::IsGameRuleDisallowed(unsigned char hostInfoRule, unsigned int c
return DECKERROR_OCGONLY; return DECKERROR_OCGONLY;
if(!allow_tcg && ((cardOt & 0x3) == 0x2)) if(!allow_tcg && ((cardOt & 0x3) == 0x2))
return DECKERROR_TCGONLY; return DECKERROR_TCGONLY;
} else if((cardOt & 0x8) && (cardOt & 0x3)) { // in CCG duels, cards labeled with ither OCG or TCG, but not CCG, would not be allowed. } else if(!(cardOt & 0x8) && (cardOt & 0x3)) { // in CCG duels, cards labeled with ither OCG or TCG, but not CCG, would not be allowed.
if((cardOt & 0x3) == 0x2) { if((cardOt & 0x3) == 0x2) {
return DECKERROR_TCGONLY; return DECKERROR_TCGONLY;
} else { } else {
......
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