diff options
author | arun <arun@nubati.net> | 2007-06-12 11:37:28 +0000 |
---|---|---|
committer | arun <arun> | 2007-06-12 11:37:28 +0000 |
commit | ff9effad42c5222df141e9c72f09aea315c15805 (patch) | |
tree | 7547f17a543d821896dde978edf054089136f2d0 /functions.php | |
parent | 7c54cc81a26bb8a58a0b5ea4dbf4e819fba65d11 (diff) | |
download | e-DoKo-ff9effad42c5222df141e9c72f09aea315c15805.tar.gz e-DoKo-ff9effad42c5222df141e9c72f09aea315c15805.tar.bz2 e-DoKo-ff9effad42c5222df141e9c72f09aea315c15805.zip |
BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset in can_call had wrong sign
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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": |