@ -44,7 +44,9 @@ char* bauer_umwandel_abfrage(char** Brett, int startX, int startY, int endX, int
}
void bauer_umwandeln(){
void bauer_umwandeln(char** Brett, int startX, int startY, int endX, int endY, Player player){
Brett[endY][endX] = bauer_umwandel_abfrage(Brett,startX,startY,endX,endY,player);
Brett[startY][startX] = ' ';
@ -6,6 +6,6 @@
bool ist_umwandlung_gerlaubt_Bauer(char** Brett, int startX, int startY, int endX, int endY, Player player);
char* bauer_umwandel_abfrage(char** Brett, int startX, int startY, int endX, int endY, Player player);
void bauer_umwandeln();
void bauer_umwandeln(char** Brett, int startX, int startY, int endX, int endY, Player player);
#endif // BAUER_UM_H