X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=451b86ae1c9194f11533295ca25e04d67e25d6ea;hb=f76a3d402e2b87a09ad1ad702c73019846da68db;hp=534fd28029f5becbb9f9a3935052a81daefa35d7;hpb=8b9c2b3ec59baef7c9f64f9663347bc5b9cf69fe;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 534fd28..451b86a 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -26,15 +26,8 @@ $G_base = "../"; require_once("../Obj/brisk.phh"); -// require_once("../Obj/proxyscan.phh"); require_once("Obj/briskin5.phh"); -// Use of proxies isn't allowed. -// if (is_proxy()) { -// sleep(5); -// exit; -//} - /* * MAIN */ @@ -156,7 +149,7 @@ function bin5_index_wr_main(&$bin5, $remote_addr_full, $get, $post, $cookie) // $user->bantime = $user->laccwr + BAN_TIME; if ($logout_cont == TRUE) { - $bin5->table_wakeup(&$user); + $bin5->table_wakeup($user); } } else if ($argz[0] == 'exitlock') { @@ -371,7 +364,7 @@ function bin5_index_wr_main(&$bin5, $remote_addr_full, $get, $post, $cookie) if ($table->asta_win > -1 && $user->table_pos == $table->asta_win) { $a_brisco = $argz[1]; - if ($a_brisco >= 0 && $a_brisco < 40) { + if ($a_brisco >= 0 && $a_brisco < (BIN5_CARD_HAND * BIN5_PLAYERS_N)) { $table->briscola = $a_brisco; $table->friend = $table->card[$a_brisco]->owner; log_wr("GSTART 2");