X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Frules_old_rules.phh;h=712e650eb61fb60695fc79eddc10c1e23d193081;hb=fd5eec5ecd988df774eb9fb8744a0274e918980b;hp=ffa1a1b56d368e3f5fe33344b4ccda8be87c0474;hpb=c0cc54c9494acf8f43b92a0517d32d38b5006aa0;p=brisk.git diff --git a/web/briskin5/Obj/rules_old_rules.phh b/web/briskin5/Obj/rules_old_rules.phh index ffa1a1b..712e650 100644 --- a/web/briskin5/Obj/rules_old_rules.phh +++ b/web/briskin5/Obj/rules_old_rules.phh @@ -173,7 +173,7 @@ class Rules_old_rules extends Rules { $game_delta = 1; // $table->game_next(1); - $table->game_init(&$bri->user); + $table->game_init($bri->user); } else if ($action == BIN5_RULES_ABANDON) { // return TRUE if all correct if (!($user->handpt <= 2)) { @@ -192,7 +192,7 @@ class Rules_old_rules extends Rules { // Non si cambia mazzo se si abbandona la partita $game_delta = 0; // $table->game_next(0); - $table->game_init(&$bri->user); + $table->game_init($bri->user); } else if ($action == BIN5_RULES_CHECKCHOOSE) { return ($this->rules_checkchoose($bri, $curtime, $action, $user, $opt1, $opt2)); @@ -301,7 +301,7 @@ class Rules_old_rules extends Rules { $table->old_pnt, $table->old_asta_pnt, $table->old_tourn_pts); - if ($user->table_orig < TABLES_AUTH_N) { + if ($user->table_orig < TABLES_APPR_N) { require_once("../Obj/dbase_".$G_dbasetype.".phh"); if (($bdb = BriskDB::create()) != FALSE) { @@ -314,7 +314,7 @@ class Rules_old_rules extends Rules { log_points($user->ip, $curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist); } - $table->game_init(&$bri->user); + $table->game_init($bri->user); return (TRUE); }