This commit is contained in:
Mylloon 2023-12-27 22:21:21 +01:00
parent e1e3582392
commit 53cb4cabb0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -53,7 +53,7 @@ bool Dames::prisePossible(Joueur &joueur) const {
const std::vector<Piece *> &pieces = joueur.getPieces(); const std::vector<Piece *> &pieces = joueur.getPieces();
int x = 1; int x = 1;
int y = 1; int y = 1;
for (int i = 0; i < pieces.size(); i++) { for (uint i = 0; i < pieces.size(); i++) {
PieceDames *p = dynamic_cast<PieceDames *>(pieces[i]); PieceDames *p = dynamic_cast<PieceDames *>(pieces[i]);
if (!p) { if (!p) {
std::cerr << "Cette pièce est.. étrange.\n"; std::cerr << "Cette pièce est.. étrange.\n";