projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset in can_ca...
[e-DoKo.git]
/
functions.php
diff --git
a/functions.php
b/functions.php
index 997ba43e154af02582aa59ff981015d2e85628fa..f6dc31dcf1b88de0825966afb0c847b4dc809b6b 100644
(file)
--- 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":