X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=1eabe2c06a7f70c00b4f723cb36f3e4368c3af8b;hb=323f1b5ce4d154e922b024384e6ec8c6f0f6d858;hp=05833a8abafc1eb7a3d2fe067b32fa4fb52053ee;hpb=e469882b494df00aab18f2e38d18c5faa214c740;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 05833a8..1eabe2c 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -52,7 +52,7 @@ if ($table_idx < 0 || $table_idx >= TABLE_N) log_mop(0, 'bin::index_wr.php: COMM: '.xcapemesg($mesg)); -$sem = Bin5::lock_data($table_idx); +$sem = Bin5::lock_data(TRUE, $table_idx); if (($bri = Bin5::load_data($table_idx,$table_token)) == FALSE) { echo "Bin5 Load data error"; @@ -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");