Changeset - r16868:fba815a0ba4e
[Not reviewed]
master
0 1 0
smatz - 13 years ago 2010-12-23 20:25:55
smatz@openttd.org
(svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/viewport.cpp
Show inline comments
 
@@ -2645,7 +2645,7 @@ void VpSelectTilesWithMethod(int x, int 
 
	}
 

	
 
	/* 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;
 
	}
0 comments (0 inline, 0 general)