oups infinite loop
This commit is contained in:
parent
3d0d969acd
commit
107c424c0b
|
@ -144,7 +144,7 @@ switch ($_POST['act']){
|
||||||
//tester si 4 pions allignés vers le haut
|
//tester si 4 pions allignés vers le haut
|
||||||
if((!$wins) && ($j<3)){
|
if((!$wins) && ($j<3)){
|
||||||
$wins = true;
|
$wins = true;
|
||||||
for($y = $j+1; $y < $j + 4; $j++){
|
for($y = $j+1; $y < $j + 4; $y++){
|
||||||
if($_SESSION['map'][$y][$i] <> $you){
|
if($_SESSION['map'][$y][$i] <> $you){
|
||||||
$wins=false;
|
$wins=false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user