diff options
author | smatz <smatz@openttd.org> | 2008-11-18 22:43:59 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-11-18 22:43:59 +0000 |
commit | 698f05e756bbcd1aad453d5e25c5e7949a1a1a74 (patch) | |
tree | fb5982346d711d936b8aa9f87eab53f416ab29d4 /src/road_cmd.h | |
parent | 6386deb70888367f1d74ab432cbcb384f17f959f (diff) | |
download | openttd-698f05e756bbcd1aad453d5e25c5e7949a1a1a74.tar.xz |
(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
Diffstat (limited to 'src/road_cmd.h')
-rw-r--r-- | src/road_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |