1
0
Fork 0

(svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88)

release/1.2
frosch 2011-11-06 15:54:55 +00:00
parent 1b66101bd3
commit f6ff2a3c15
1 changed files with 2 additions and 2 deletions

View File

@ -1887,8 +1887,8 @@ static void PlaceObject()
if (pt.x == -1) return; if (pt.x == -1) return;
if ((_thd.place_mode & HT_DRAG_MASK) == HT_POINT) { if ((_thd.place_mode & HT_DRAG_MASK) == HT_POINT) {
pt.x += 8; pt.x += TILE_SIZE / 2;
pt.y += 8; pt.y += TILE_SIZE / 2;
} }
_tile_fract_coords.x = pt.x & TILE_UNIT_MASK; _tile_fract_coords.x = pt.x & TILE_UNIT_MASK;