# HG changeset patch # User Darkvater # Date 1166660036 0 # Node ID db5f6bf223d787a8466e7594e0669064939d90bb # Parent 6a220d58c0ce5df7453ec3899df7093d46243ea6 (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions. diff -r 6a220d58c0ce -r db5f6bf223d7 openttd.c --- a/openttd.c Wed Dec 20 23:44:39 2006 +0000 +++ b/openttd.c Thu Dec 21 00:13:56 2006 +0000 @@ -1406,7 +1406,7 @@ } else { /* As of version 17, we recalculate the custom graphic ID of waypoints * from the GRF ID / station index. */ - UpdateAllWaypointCustomGraphics(); + AfterLoadWaypoints(); } /* From version 15, we moved a semaphore bit from bit 2 to bit 3 in m4, making diff -r 6a220d58c0ce -r db5f6bf223d7 waypoint.c --- a/waypoint.c Wed Dec 20 23:44:39 2006 +0000 +++ b/waypoint.c Thu Dec 21 00:13:56 2006 +0000 @@ -150,7 +150,7 @@ * Update waypoint graphics id against saved GRFID/localidx. * This is to ensure the chosen graphics are correct if GRF files are changed. */ -void UpdateAllWaypointCustomGraphics(void) +void AfterLoadWaypoints(void) { Waypoint *wp; diff -r 6a220d58c0ce -r db5f6bf223d7 waypoint.h --- a/waypoint.h Wed Dec 20 23:44:39 2006 +0000 +++ b/waypoint.h Thu Dec 21 00:13:56 2006 +0000 @@ -68,6 +68,6 @@ void DrawWaypointSprite(int x, int y, int image, RailType railtype); void FixOldWaypoints(void); void UpdateAllWaypointSigns(void); -void UpdateAllWaypointCustomGraphics(void); +void AfterLoadWaypoints(void); #endif /* WAYPOINT_H */