|
|
@ -503,8 +503,8 @@ static void BuildRoadToolbWndProc(Window *w, WindowEvent *e)
|
|
|
|
/* For autoroad we need to update the
|
|
|
|
/* For autoroad we need to update the
|
|
|
|
* direction of the road */
|
|
|
|
* direction of the road */
|
|
|
|
if (_thd.size.x > _thd.size.y || (_thd.size.x == _thd.size.y &&
|
|
|
|
if (_thd.size.x > _thd.size.y || (_thd.size.x == _thd.size.y &&
|
|
|
|
(_tile_fract_coords.x < _tile_fract_coords.y && (_tile_fract_coords.x + _tile_fract_coords.y) < 16) ||
|
|
|
|
( (_tile_fract_coords.x < _tile_fract_coords.y && (_tile_fract_coords.x + _tile_fract_coords.y) < 16) ||
|
|
|
|
(_tile_fract_coords.x > _tile_fract_coords.y && (_tile_fract_coords.x + _tile_fract_coords.y) > 16) )) {
|
|
|
|
(_tile_fract_coords.x > _tile_fract_coords.y && (_tile_fract_coords.x + _tile_fract_coords.y) > 16) ))) {
|
|
|
|
/* Set dir = X */
|
|
|
|
/* Set dir = X */
|
|
|
|
_place_road_flag &= ~RF_DIR_Y;
|
|
|
|
_place_road_flag &= ~RF_DIR_Y;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|