# HG changeset patch # User glx # Date 1191980175 0 # Node ID 439dcda6d74bef86e456746117c0a486f2263e92 # Parent 48d236e6fbf44ca00218e6d6f44ac0476bd79f08 (svn r11243) -Fix: update waypoint signs when renaming a town diff -r 48d236e6fbf4 -r 439dcda6d74b src/town_cmd.cpp --- a/src/town_cmd.cpp Wed Oct 10 01:15:07 2007 +0000 +++ b/src/town_cmd.cpp Wed Oct 10 01:36:15 2007 +0000 @@ -42,6 +42,7 @@ #include "newgrf_townname.h" #include "misc/autoptr.hpp" #include "autoslope.h" +#include "waypoint.h" /* Initialize the town-pool */ DEFINE_OLD_POOL_GENERIC(Town, Town) @@ -1899,6 +1900,7 @@ UpdateTownVirtCoord(t); _town_sort_dirty = true; UpdateAllStationVirtCoord(); + UpdateAllWaypointSigns(); MarkWholeScreenDirty(); } else { DeleteName(str);