summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-02-27 16:27:15 +0000
committerterkhen <terkhen@openttd.org>2010-02-27 16:27:15 +0000
commitd9b2bf78c51cb2bfe04819e69e428b46f4b10eef (patch)
tree81c72d0ed65b980ff2fc9d875b544ac69b3804ad
parentb8f811c7ffb2eae25c4c7ba4998dc6ab36f38382 (diff)
downloadopenttd-d9b2bf78c51cb2bfe04819e69e428b46f4b10eef.tar.xz
(svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted.
-rw-r--r--src/station_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 914685ad4..90b443661 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1760,6 +1760,8 @@ CommandCost CmdBuildRoadStop(TileIndex tile, DoCommandFlag flags, uint32 p1, uin
} else {
MakeRoadStop(cur_tile, st->owner, st->index, rs_type, rts, ddir);
}
+
+ MarkTileDirtyByTile(cur_tile);
}
}