Mercurial > hg > openttd
changeset 7913:bf426a51dacf draft
(svn r11466) -Fix (r11339): operator priority problem resulting in problematic autoroad placement in some cases
author | smatz <smatz@openttd.org> |
---|---|
date | Sun, 18 Nov 2007 20:10:07 +0000 |
parents | 357db556fc02 |
children | 55d957317e7f |
files | src/road_gui.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -503,8 +503,8 @@ /* For autoroad we need to update the * direction of the road */ 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 */ _place_road_flag &= ~RF_DIR_Y; } else {