From: Matteo Nastasi (mop) Date: Sat, 19 Apr 2008 15:51:49 +0000 (+0000) Subject: moved train_app initialization X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=1233a688ad80a1335a1947949be08228c6568169;p=brisk.git moved train_app initialization --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 93b9983..6feb8e8 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -72,7 +72,6 @@ define(BRISK_SINGLE_SESS, ""); require_once("$DOCUMENT_ROOT/Etc/".BRISK_CONF); - $G_false = FALSE; $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); @@ -1213,11 +1212,12 @@ class Room { { log_main("room_sitdown ".($user == FALSE ? "USER: FALSE" : "USER: ".$user->name)); + $train_app = ""; + if ($table_idx > -1 && $table_idx < TABLES_N) { $table = &$this->table[$table_idx]; // wagon shutdown - $train_app = ""; if ($table->wag_own != NULL && $table->player_n == PLAYERS_N) { for ($i = 0 ; $i < TABLES_N ; $i++) { $user_cur =& $this->user[$table->player[$i]];