Fixed problem with fens like 8/7P/8/8/1k15/8/P7/K7 w - - 0 1, i.e. 1k15(and not 1k6)
This commit is contained in:
@@ -118,10 +118,6 @@ class FenParser0x88
|
||||
}
|
||||
$pos++;
|
||||
} else if ($i < $len - 1 && isset(Board0x88Config::$numbers[$token])) {
|
||||
$token2 = $this->fenParts['pieces'][$i + 1];
|
||||
if (preg_match("/[0-9]/", $token2)) {
|
||||
$token = $token . $token2;
|
||||
}
|
||||
$pos += intval($token);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user