From: Arun Persaud Date: Wed, 20 Aug 2008 03:00:20 +0000 (-0700) Subject: BUGFIX: error in scoring algorithm when two players on the contra team made a call X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=775bbd895cb60c0d62bd2cc2f1b2faeb00001efb;p=e-DoKo.git BUGFIX: error in scoring algorithm when two players on the contra team made a call to figure out who made the lower call, you need to compare the two calls, but for some reason instead of comparing the two contra-calls, the contra call was compared to the re-call which could make the algorithm belief that the contra-call was higher than it was. Signed-off-by: Arun Persaud --- diff --git a/include/game.php b/include/game.php index a7004d6..8feda71 100644 --- a/include/game.php +++ b/include/game.php @@ -1557,7 +1557,7 @@ switch($mystatus) { if($call_contra==NULL) $call_contra = $call; - else if( $call < $call_re) + else if( $call < $call_contra) $call_contra = $call; } }