mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 17:49:10 +00:00
(svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88)
This commit is contained in:
@@ -1887,8 +1887,8 @@ static void PlaceObject()
|
||||
if (pt.x == -1) return;
|
||||
|
||||
if ((_thd.place_mode & HT_DRAG_MASK) == HT_POINT) {
|
||||
pt.x += 8;
|
||||
pt.y += 8;
|
||||
pt.x += TILE_SIZE / 2;
|
||||
pt.y += TILE_SIZE / 2;
|
||||
}
|
||||
|
||||
_tile_fract_coords.x = pt.x & TILE_UNIT_MASK;
|
||||
|
Reference in New Issue
Block a user