Fix loading of engine-defined PGN games
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 16 Oct 2014 19:44:33 +0000 (21:44 +0200)
committerArun Persaud <arun@nubati.net>
Fri, 17 Oct 2014 06:14:10 +0000 (23:14 -0700)
commit837f9247aaf15b2440dacd4ae4672a0f3f99f787
tree263d8a2b01fc2ce5857cc6d3e809f4ce0ea3bdff
parent1a37d04c539f7b8d702c9ea76009ee196969ca38
Fix loading of engine-defined PGN games

Somehow there could be disagreement over what the official opening
position of an engine-defined variant was during loading of the game.
It then refused Betza-defined castling, which tests the corner pieces
based on this initial position. We now assume the FEN tag, which such
a PGN game will always contain, holds the official opening position,
so that castling will always be assumed possible (if there is a corner
piece).
backend.c