From: Matteo Nastasi (mop) Date: Sun, 10 Apr 2011 21:48:29 +0000 (+0200) Subject: 24 vs 40 max index for choosed card bug fixed X-Git-Tag: 3.5.4~7 X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=3739ebe6b9ad92f032e30a3a151b47cd5b329aa0 24 vs 40 max index for choosed card bug fixed --- diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 05833a8..ab6878c 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -347,7 +347,7 @@ else if ($user->stat == 'table') { if ($table->asta_win > -1 && $user->table_pos == $table->asta_win) { $a_brisco = $argz[1]; - if ($a_brisco >= 0 && $a_brisco < (BIN5_PLAYERS_N == 5 ? 40 : 24)) { + if ($a_brisco >= 0 && $a_brisco < 40) { $table->briscola = $a_brisco; $table->friend = $table->card[$a_brisco]->owner; log_wr("GSTART 2");