@@ -35,9 +35,7 @@
#include "window_func.h"
#include "debug.h"
#include "game/game_text.hpp"
#ifdef ENABLE_NETWORK
# include "network/network_content_gui.h"
#endif /* ENABLE_NETWORK */
#include "network/network_content_gui.h"
#include <stack>
#include "table/strings.h"
@@ -1681,11 +1679,7 @@ static char *GetSpecialNameString(char *
NOT_REACHED();
}
extern void SortNetworkLanguages();
#else /* ENABLE_NETWORK */
static inline void SortNetworkLanguages() {}
/**
* Check whether the header is a valid header for OpenTTD.
@@ -1821,9 +1815,7 @@ bool ReadLanguagePack(const LanguageMeta
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.