summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2019-05-04 18:25:13 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-05-04 19:51:38 +0100
commit1fe580cd2bac8a3214f35ff79f17730044fdd6f3 (patch)
tree9a50ad436738a84382fd669ed37f560c5d1b7d7c /src
parent26aa3b86233b5ed9c1d3bfe67e2826ca6ff48ca7 (diff)
downloadopenttd-1fe580cd2bac8a3214f35ff79f17730044fdd6f3.tar.xz
Fix c02ef3e456: Incorrect order of road toolbar icons.
Diffstat (limited to 'src')
-rw-r--r--src/road_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp
index 325dd0f6e..9ade036f0 100644
--- a/src/road_cmd.cpp
+++ b/src/road_cmd.cpp
@@ -85,8 +85,8 @@ void ResolveRoadTypeGUISprites(RoadTypeInfo *rti)
{
SpriteID cursors_base = GetCustomRoadSprite(rti, INVALID_TILE, ROTSG_CURSORS);
if (cursors_base != 0) {
- rti->gui_sprites.build_x_road = cursors_base + 0;
- rti->gui_sprites.build_y_road = cursors_base + 1;
+ rti->gui_sprites.build_y_road = cursors_base + 0;
+ rti->gui_sprites.build_x_road = cursors_base + 1;
rti->gui_sprites.auto_road = cursors_base + 2;
rti->gui_sprites.build_depot = cursors_base + 3;
rti->gui_sprites.build_tunnel = cursors_base + 4;