summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 678d0fc93..bb26cb00c 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -675,7 +675,7 @@ struct BuildRailToolbarWindow : Window {
break;
}
}
- MarkTileDirty(_thd.pos.x, _thd.pos.y); // redraw tile selection
+ MarkTileDirtyByTile(TileVirtXY(_thd.pos.x, _thd.pos.y)); // redraw tile selection
return state;
}