diff options
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 0e2f51e2a..df2ce0a26 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -382,7 +382,7 @@ static void HandleAutoSignalPlacement() TileHighlightData *thd = &_thd; uint32 p2 = GB(thd->drawstyle, 0, 3); // 0..5 - if (thd->drawstyle == HT_RECT) { // one tile case + if ((thd->drawstyle & HT_DRAG_MASK) == HT_RECT) { // one tile case GenericPlaceSignals(TileVirtXY(thd->selend.x, thd->selend.y)); return; } |