GNOME Bugzilla – Bug 673954
glchess: changing the Promotion type setting does not reflect in next game.
Last modified: 2012-12-20 02:58:04 UTC
I see the setting "promotion-type" being set but not being retrieved in the code. Instead, the values for promotion type going as parameters to ChessState : move_with_coords () function are hard-coded to PieceType.QUEEN. Can someone confirm the bug if you are able to reproduce it?
Confirmed.
OK, my branch includes a patch :)
Refer: https://bugzilla.gnome.org/show_bug.cgi?id=655761#c6 The branch includes a fix for this one.
Chandi, Could you convert that change into a patch with git format-patch and attach here? Then we can review using the bugzilla review tools.
Created attachment 213161 [details] [review] [glchess] Make use of promotion-type setting Fixes:
Review of attachment 213161 [details] [review]: Requires other set of patches so can't be applied as is. Also like the other patches the piece type is being set too late.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.