summaryrefslogtreecommitdiffstats
path: root/src/gameboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameboard.cpp')
-rw-r--r--src/gameboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameboard.cpp b/src/gameboard.cpp
index 33bea1a..82c86c5 100644
--- a/src/gameboard.cpp
+++ b/src/gameboard.cpp
@@ -112,7 +112,7 @@ GameBoard::redrawMap()
for (pos = 0, y = oy; y < h; y += dy) {
for (x = ox; x < w; x += dx) {
p->drawRect(x, y, dx, dy);
- if (isEnabled() && (kpos > 0) && (kpos == pos) &&
+ if (isEnabled() && (kpos >= 0) && (kpos == pos) &&
IS_SET(config, CFG_KNIGHT)) {
/* draw the knight */
p->drawPixmap(x, y, *kxpm);