Commit abbc562c authored by nanahira's avatar nanahira

fix

parent d677235f
Pipeline #5078 failed with stages
in 2 minutes and 51 seconds
...@@ -123,7 +123,7 @@ namespace YGOSharp ...@@ -123,7 +123,7 @@ namespace YGOSharp
return false; return false;
if(!allow_tcg && ((cardOt & 0x3) == 0x2)) if(!allow_tcg && ((cardOt & 0x3) == 0x2))
return false; return false;
} 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.
return false; return false;
} }
return true; return true;
......
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