From ff9effad42c5222df141e9c72f09aea315c15805 Mon Sep 17 00:00:00 2001 From: arun Date: Tue, 12 Jun 2007 11:37:28 +0000 Subject: BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset in can_call had wrong sign --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 997ba43..f6dc31d 100644 --- a/functions.php +++ b/functions.php @@ -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": -- cgit v1.2.3-18-g5258