mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 04:13:26 +00:00
(svn r16136) -Fix (r16095)[FS#2858]: sometimes autorail wouldn't work; seems to be primarily for OSX users though
This commit is contained in:
parent
169a003e9a
commit
ecdb5f46a7
@ -2267,10 +2267,7 @@ void VpStartPlaceSizing(TileIndex tile, ViewportPlaceMethod method, ViewportDrag
|
||||
if (_thd.place_mode == HT_RECT) {
|
||||
_thd.place_mode = HT_SPECIAL;
|
||||
_thd.next_drawstyle = HT_RECT;
|
||||
} else if (_thd.place_mode & HT_RAIL) {
|
||||
_thd.place_mode = HT_SPECIAL;
|
||||
_thd.next_drawstyle = HT_RAIL;
|
||||
} else if (_thd.place_mode & HT_LINE) {
|
||||
} else if (_thd.place_mode & (HT_RAIL | HT_LINE)) {
|
||||
_thd.place_mode = HT_SPECIAL;
|
||||
_thd.next_drawstyle = _thd.drawstyle;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user