BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset in can_ca...
[e-DoKo.git] / functions.php
index 997ba43e154af02582aa59ff981015d2e85628fa..f6dc31dcf1b88de0825966afb0c847b4dc809b6b 100644 (file)
@@ -677,7 +677,7 @@ function can_call($what,$hash)
   switch ($RULES["call"])
     {
     case "1st-own-card":
-      if( 4-($what/30) >= 12 - $NRcards + $offset)
+      if( 4-($what/30) >= 12 - ($NRcards + $offset))
        return 1;
       break;
     case "5th-card":