compiler/libec: (#341, #351, #644, #771) Improved enum type matching and type handlin...
[sdk] / samples / games / cards / poker / pokerUtils.ec
index 8f1bf45..54301eb 100644 (file)
@@ -75,7 +75,7 @@ static bool POKER_Same(int cards[5], int howMany, int what[2], int rest[3])
             rest[d++] = cards[c];
       }
    }
-   return numPairs;
+   return numPairs != 0;
 }
 
 // --- External Functions ---