projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f703780
)
BUGFIX: diamond was added twice in defining the sorting order for the cards
author
Arun Persaud
<arun@nubati.net>
Sat, 17 May 2008 18:13:55 +0000
(11:13 -0700)
committer
Arun Persaud
<arun@nubati.net>
Sat, 17 May 2008 18:13:55 +0000
(11:13 -0700)
probably never did any harm, but long anyway
Signed-off-by: Arun Persaud <arun@nubati.net>
include/functions.php
patch
|
blob
|
history
diff --git
a/include/functions.php
b/include/functions.php
index fdb461e233448de9ce89fec9719b8b11e86bffa4..bbffe00057617ae6c3f2e0e51b108b2ea765cbed 100644
(file)
--- a/
include/functions.php
+++ b/
include/functions.php
@@
-572,7
+572,7
@@
function sort_comp($a,$b)
$ALL = array();
$ALL = array_merge($CARDS["trump"],$CARDS["diamonds"],$CARDS["clubs"],
- $CARDS["hearts"],$CARDS["spades"]
,$CARDS["diamonds"]
);
+ $CARDS["hearts"],$CARDS["spades"]);
return pos_array($a,$ALL)-pos_array($b,$ALL);
}