diff options
Diffstat (limited to 'waypoint.c')
-rw-r--r-- | waypoint.c | 2 |
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; |