(svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 14 years ago
parent 7e65c65af9
commit e4e6735cea

@ -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;
}

Loading…
Cancel
Save