projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dynamic computation of number of allowable cards
[brisk.git]
/
web
/
briskin5
/
index_wr.php
diff --git
a/web/briskin5/index_wr.php
b/web/briskin5/index_wr.php
index
e0bd91e
..
451b86a
100644
(file)
--- a/
web/briskin5/index_wr.php
+++ b/
web/briskin5/index_wr.php
@@
-364,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 ($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");
$table->briscola = $a_brisco;
$table->friend = $table->card[$a_brisco]->owner;
log_wr("GSTART 2");