This patch makes "Resign" from the menu work in engine matches. The old code simply sent the string "resign" to the engine, but that doesn't work (The winboard protocol defines "resign" as something the engine can send when resigning, not the other way around. Also, it doesn't appear as if eboard supports receiving "resign".).
I'll also note that the status bar notification is done three times - once for the "Resign" message, once for the "savePGN" message and once for the "Disconnect" message (from network->close), and there's no way the user can see the first two. This happens also at gameOver, so I decided not to change this.
Log in to post a comment.