summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-07 16:17:00 +0000
committerglx <glx@openttd.org>2008-02-07 16:17:00 +0000
commitb68f398cacbeff7adb49e2d9ac8f08ecbacd1c64 (patch)
tree102871c9729f9a2759de6401a5520cac7afdf144
parent1bcc1927b17e06a9223ef2bdcad47afc93b5258a (diff)
downloadopenttd-b68f398cacbeff7adb49e2d9ac8f08ecbacd1c64.tar.xz
(svn r12080) -Fix: update waypoint signs when changing language
-rw-r--r--src/settings_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 1c75e51f7..939bee7cf 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -24,6 +24,7 @@
#include "core/alloc_func.hpp"
#include "string_func.h"
#include "gfx_func.h"
+#include "waypoint.h"
#include "widgets/dropdown_type.h"
#include "widgets/dropdown_func.h"
@@ -301,6 +302,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e)
ReadLanguagePack(e->we.dropdown.index);
CheckForMissingGlyphsInLoadedLanguagePack();
UpdateAllStationVirtCoord();
+ UpdateAllWaypointSigns();
MarkWholeScreenDirty();
break;