Fixed Betza notation of Breakthrough piece
authorMichael Taktikos <36267869+mtaktikos@users.noreply.github.com>
Sat, 9 Oct 2021 13:52:27 +0000 (15:52 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 9 Oct 2021 15:32:05 +0000 (17:32 +0200)
Avoid illegal moves (captures forward) in Breakthrough

src/piece.cpp

index a5b0703..69bef98 100644 (file)
@@ -205,7 +205,7 @@ void PieceMap::init(const Variant* v) {
   add(GOLD, from_betza("WfF", "gold"));
   add(DRAGON_HORSE, from_betza("BW", "dragonHorse"));
   add(CLOBBER_PIECE, from_betza("cW", "clobber"));
-  add(BREAKTHROUGH_PIECE, from_betza("fWfFcF", "breakthrough"));
+  add(BREAKTHROUGH_PIECE, from_betza("fmWfF", "breakthrough"));
   add(IMMOBILE_PIECE, from_betza("", "immobile"));
   add(CANNON, from_betza("mRcpR", "cannon"));
   add(JANGGI_CANNON, from_betza("pR", "janggiCannon"));