(svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information

Yup-yup-ed by: peter1138
This commit is contained in:
tron
2006-06-21 11:30:28 +00:00
parent ac217b2eea
commit 9e28713c4c
5 changed files with 2 additions and 19 deletions

View File

@@ -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;