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
commit5d1ae07dc50ccb7a16569e3d8154c43a12cf3187 (patch)
treeca3c65b2edad228eaf49d4c9e834665bd11e8931 /waypoint.c
parentb8778e6341bfa9be2de27d4bcaf3b8a24669ae1f (diff)
downloadopenttd-5d1ae07dc50ccb7a16569e3d8154c43a12cf3187.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;