(svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions.
This commit is contained in:
		@@ -1406,7 +1406,7 @@ bool AfterLoadGame(void)
 | 
				
			|||||||
	} else {
 | 
						} else {
 | 
				
			||||||
		/* As of version 17, we recalculate the custom graphic ID of waypoints
 | 
							/* As of version 17, we recalculate the custom graphic ID of waypoints
 | 
				
			||||||
		 * from the GRF ID / station index. */
 | 
							 * 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
 | 
						/* From version 15, we moved a semaphore bit from bit 2 to bit 3 in m4, making
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -150,7 +150,7 @@ static Waypoint *FindDeletedWaypointCloseTo(TileIndex tile)
 | 
				
			|||||||
 * Update waypoint graphics id against saved GRFID/localidx.
 | 
					 * Update waypoint graphics id against saved GRFID/localidx.
 | 
				
			||||||
 * This is to ensure the chosen graphics are correct if GRF files are changed.
 | 
					 * This is to ensure the chosen graphics are correct if GRF files are changed.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
void UpdateAllWaypointCustomGraphics(void)
 | 
					void AfterLoadWaypoints(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	Waypoint *wp;
 | 
						Waypoint *wp;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,6 +68,6 @@ void ShowRenameWaypointWindow(const Waypoint *cp);
 | 
				
			|||||||
void DrawWaypointSprite(int x, int y, int image, RailType railtype);
 | 
					void DrawWaypointSprite(int x, int y, int image, RailType railtype);
 | 
				
			||||||
void FixOldWaypoints(void);
 | 
					void FixOldWaypoints(void);
 | 
				
			||||||
void UpdateAllWaypointSigns(void);
 | 
					void UpdateAllWaypointSigns(void);
 | 
				
			||||||
void UpdateAllWaypointCustomGraphics(void);
 | 
					void AfterLoadWaypoints(void);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif /* WAYPOINT_H */
 | 
					#endif /* WAYPOINT_H */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user