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 9771780..454cc32 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));
        }