type
This commit is contained in:
parent
e1e3582392
commit
53cb4cabb0
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Reference in a new issue