(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:
Darkvater
2006-03-26 22:58:11 +00:00
parent f77bb24d93
commit 2e0505d689
4 changed files with 3 additions and 6 deletions

View File

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