(svn r4133) - Some miscellaneous changes (unconverted TownID in function definition, Owner instead of byte, remove obsolete member and compare waypoint index with 0 not STR_NULL)
This commit is contained in:
@@ -237,7 +237,7 @@ int32 CmdBuildTrainWaypoint(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
||||
wp->xy = tile;
|
||||
wp->build_date = _date;
|
||||
|
||||
if (wp->town_index == STR_NULL)
|
||||
if (wp->town_index == 0)
|
||||
MakeDefaultWaypointName(wp);
|
||||
|
||||
UpdateWaypointSign(wp);
|
||||
|
||||
Reference in New Issue
Block a user