(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)

This commit is contained in:
rubidium
2009-12-13 19:33:07 +00:00
parent 43abfbd426
commit 0e78fdb54c
4 changed files with 17 additions and 9 deletions

View File

@@ -32,6 +32,7 @@
#include "base_media_base.h"
#include "company_base.h"
#include "company_func.h"
#include "viewport_func.h"
#include <map>
#include "table/sprites.h"
@@ -380,7 +381,7 @@ struct GameOptionsWindow : Window {
case GOW_LANG_DROPDOWN: // Change interface language
ReadLanguagePack(index);
CheckForMissingGlyphsInLoadedLanguagePack();
UpdateAllStationVirtCoords();
UpdateAllVirtCoords();
ReInitAllWindows();
break;