aboutsummaryrefslogtreecommitdiffstats
path: root/src/king.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/king.cpp')
-rw-r--r--src/king.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/king.cpp b/src/king.cpp
index 0f332b7..8e8a6b9 100644
--- a/src/king.cpp
+++ b/src/king.cpp
@@ -18,7 +18,7 @@ using namespace ymhChessAI;
King::King() : ChessPiece() {
}
-King::King(const int& x, const int& y) : ChessPiece(x, y) {
+King::King(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) {
}
void King::move(const int& x, const int& y) {