]> git.sesse.net Git - remoteglot/commitdiff
More castling fixes.
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 26 Jun 2007 13:11:44 +0000 (15:11 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 26 Jun 2007 13:11:44 +0000 (15:11 +0200)
remoteglot.pl

index 9771780546a05904d6ff2e0f299c385e8fcfa813..454cc324108dd33b77766e369b278fd846198b65 100644 (file)
@@ -269,7 +269,7 @@ sub prettyprint_pv {
                
                # rook
                substr($nb[7], 0, 1, '-');
-               substr($nb[7], 2, 1, 'R');
+               substr($nb[7], 3, 1, 'R');
                                
                return ('0-0-0', prettyprint_pv(\@nb, @pvs));
        }
@@ -299,7 +299,7 @@ sub prettyprint_pv {
                
                # rook
                substr($nb[0], 0, 1, '-');
-               substr($nb[0], 2, 1, 'R');
+               substr($nb[0], 3, 1, 'R');
                                
                return ('0-0-0', prettyprint_pv(\@nb, @pvs));
        }