aboutsummaryrefslogtreecommitdiffstats
path: root/src/chess_piece.cpp
diff options
context:
space:
mode:
authorymherklotz <ymherklotz@gmail.com>2017-01-23 15:18:05 +0000
committerymherklotz <ymherklotz@gmail.com>2017-01-23 15:18:05 +0000
commit7ec074f67ae29a792e718fc48f7817b3a77b81ad (patch)
tree73afe11e47426139f378f5140a045571d39efcd8 /src/chess_piece.cpp
parent43910de3a8899b332e697ba210436be70e6a6f7c (diff)
downloadChessAI-7ec074f67ae29a792e718fc48f7817b3a77b81ad.tar.gz
ChessAI-7ec074f67ae29a792e718fc48f7817b3a77b81ad.zip
Created a seperate filemakeoverfinish_parser
Diffstat (limited to 'src/chess_piece.cpp')
-rw-r--r--src/chess_piece.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chess_piece.cpp b/src/chess_piece.cpp
index d4d14e6..33ce34f 100644
--- a/src/chess_piece.cpp
+++ b/src/chess_piece.cpp
@@ -25,7 +25,7 @@ ChessPiece::ChessPiece(const int& x, const int& y, const Colour& colour) : m_x(x
EmptyPiece::EmptyPiece() : ChessPiece() {
}
-EmptyPiece::EmptyPiece(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) {
+EmptyPiece::EmptyPiece(const int& x, const int& y) : ChessPiece(x, y, Colour::None) {
}
void EmptyPiece::move(const int& x, const int& y) {