diff options
author | Arun Persaud <arun@nubati.net> | 2015-11-29 01:26:42 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2015-11-29 21:19:07 -0800 |
commit | e2db7fab7569c20afa4f7915edb70842ae1aed8e (patch) | |
tree | 69b8afe469dc2d045ce0c19f23bcf9c615c419a5 | |
parent | 65de9655c6002bbfee76f1c3c45b312615fb375a (diff) | |
download | e-DoKo-e2db7fab7569c20afa4f7915edb70842ae1aed8e.tar.gz e-DoKo-e2db7fab7569c20afa4f7915edb70842ae1aed8e.tar.bz2 e-DoKo-e2db7fab7569c20afa4f7915edb70842ae1aed8e.zip |
BUGFIX: check for 2nd 10 of hearts in wedding and poverty games
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index b476f6d..9736182 100644 --- a/include/functions.php +++ b/include/functions.php @@ -329,6 +329,7 @@ function compare_cards($a,$b,$game) case "normal": case "silent": case "trump": + case "wedding": if($RULES['schweinchen']=='both' && $GAME['schweinchen-who']) { if($a == 19 || $a == 20 ) @@ -356,6 +357,8 @@ function compare_cards($a,$b,$game) /* if not, do nothing and the foxes are just handeled as normal trump */ } ; + case "poverty": + case "dpoverty": case "heart": case "spade": case "club": |