- $table->tourn_pts = 0;
- $seed = $a_brisco - ($a_brisco % 10);
- for ($i = $seed ; $i < ($seed + min(10, BIN5_CARD_HAND * BIN5_PLAYERS_N)) ; $i++) {
- if ($table->card[$i]->owner == $table->asta_win) {
- $table->tourn_pts += $tourn_values[$i - $seed];
- }
+ else
+ $tourn_values = array(33, 30, 12,9,6, 3,3,3,3,3);
+
+ $table->tourn_pts = 0;
+ $seed = $a_brisco - ($a_brisco % 10);
+ for ($i = $seed ; $i < ($seed + min(10, BIN5_CARD_HAND * BIN5_PLAYERS_N)) ; $i++) {
+ if ($table->card[$i]->owner == $table->asta_win) {
+ $table->tourn_pts += $tourn_values[$i - $seed];