(svn r27288) -Fix: Slow network content GUI in MSVC Debug builds due to repeated string resolving.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "window_func.h"
|
||||
#include "debug.h"
|
||||
#include "game/game_text.hpp"
|
||||
#include "network/network_content_gui.h"
|
||||
#include <stack>
|
||||
|
||||
#include "table/strings.h"
|
||||
@@ -1814,6 +1815,7 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
|
||||
SortIndustryTypes();
|
||||
BuildIndustriesLegend();
|
||||
SortNetworkLanguages();
|
||||
BuildContentTypeStringList();
|
||||
InvalidateWindowClassesData(WC_BUILD_VEHICLE); // Build vehicle window.
|
||||
InvalidateWindowClassesData(WC_TRAINS_LIST); // Train group window.
|
||||
InvalidateWindowClassesData(WC_ROADVEH_LIST); // Road vehicle group window.
|
||||
|
Reference in New Issue
Block a user