Fixed UI when building with non-autorail tool with confirmation window

This commit is contained in:
pelya
2016-04-11 00:48:14 +03:00
parent de9d011a01
commit 4cba4d08aa

View File

@@ -2438,8 +2438,10 @@ void UpdateTileSelection()
default: NOT_REACHED();
}
_thd.selstart.x = x1 & ~TILE_UNIT_MASK;
_thd.selstart.y = y1 & ~TILE_UNIT_MASK;
if (!ConfirmationWindowShown()) {
_thd.selstart.x = x1 & ~TILE_UNIT_MASK;
_thd.selstart.y = y1 & ~TILE_UNIT_MASK;
}
break;
default:
NOT_REACHED();