From 07e3c096b3b744ef1d094c9481faa31ec8d2034a Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 18 Nov 2008 22:43:59 +0000 Subject: (svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation -Codechange: rewrite parts of code responsible for caching index of nearest town --- src/road_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/road_cmd.h') diff --git a/src/road_cmd.h b/src/road_cmd.h index df92ecb3f..00235a3b3 100644 --- a/src/road_cmd.h +++ b/src/road_cmd.h @@ -8,6 +8,6 @@ #include "direction_type.h" void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt); -void InvalidateTownForRoadTile(); +void UpdateNearestTownForRoadTiles(bool invalidate); #endif /* ROAD_CMD_H */ -- cgit v1.2.3-54-g00ecf