summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index cf58fccf5..8b08feb3f 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -2645,7 +2645,7 @@ void VpSelectTilesWithMethod(int x, int y, ViewportPlaceMethod method)
}
/* Needed so level-land is placed correctly */
- if (_thd.next_drawstyle == HT_POINT) {
+ if ((_thd.next_drawstyle & HT_DRAG_MASK) == HT_POINT) {
x += TILE_SIZE / 2;
y += TILE_SIZE / 2;
}