From 3893ff6b9861f8d4c2860299c477356696e30cb0 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 14 Dec 2015 16:49:33 +0100 Subject: [PATCH] fix parse error --- html/StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/StupidIABattleship.php b/html/StupidIABattleship.php index f645b93..66a6856 100644 --- a/html/StupidIABattleship.php +++ b/html/StupidIABattleship.php @@ -112,7 +112,7 @@ switch($_POST['act']){ $rigth=false; }else{ $right=true; - for($i=$xtest; $i < $xtest + $shipWidth, $i++){ + for($i = $xtest; $i < $xtest + $shipWidth; $i++){ if($map[$ytest][$i] == 1){ $right= false; break;