projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUGFIX: check for 2nd 10 of hearts in wedding and poverty games
[e-DoKo.git]
/
include
/
functions.php
diff --git
a/include/functions.php
b/include/functions.php
index b476f6de7eb8e6ab151908c61db6c24359edade2..973618216bb74d7a8d32d1daf3dce70c7c3ffdfb 100644
(file)
--- 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 "normal":
case "silent":
case "trump":
+ case "wedding":
if($RULES['schweinchen']=='both' && $GAME['schweinchen-who'])
{
if($a == 19 || $a == 20 )
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 */
}
;
/* if not, do nothing and the foxes are just handeled as normal trump */
}
;
+ case "poverty":
+ case "dpoverty":
case "heart":
case "spade":
case "club":
case "heart":
case "spade":
case "club":