summaryrefslogtreecommitdiff
path: root/waypoint.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-21 11:30:28 +0000
committertron <tron@openttd.org>2006-06-21 11:30:28 +0000
commit9e28713c4c33687e85243f80e7edb9d5bd804aff (patch)
treeca3c65b2edad228eaf49d4c9e834665bd11e8931 /waypoint.c
parentac217b2eea7779478951179e286a2cad3d36aaab (diff)
downloadopenttd-9e28713c4c33687e85243f80e7edb9d5bd804aff.tar.xz
(svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Yup-yup-ed by: peter1138
Diffstat (limited to 'waypoint.c')
-rw-r--r--waypoint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/waypoint.c b/waypoint.c
index 5881a30f8..78b1386fa 100644
--- a/waypoint.c
+++ b/waypoint.c
@@ -221,13 +221,11 @@ int32 CmdBuildTrainWaypoint(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
statspec = GetCustomStationSpec(STAT_CLASS_WAYP, p1);
if (statspec != NULL) {
- SetCustomWaypointSprite(tile);
wp->stat_id = p1;
wp->grfid = statspec->grfid;
wp->localidx = statspec->localidx;
} else {
// Specified custom graphics do not exist, so use default.
- ClearCustomWaypointSprite(tile);
wp->stat_id = 0;
wp->grfid = 0;
wp->localidx = 0;