From 10c3e844d77996f6a383791edc673bd7855dd321 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 31 Jul 2011 02:04:46 +0200 Subject: show alpha2 country code strings next to the flag in the country code selectors. Closes #805 --- src/game/client/components/countryflags.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/client/components/countryflags.cpp') diff --git a/src/game/client/components/countryflags.cpp b/src/game/client/components/countryflags.cpp index d6b30fe0..ef350cd7 100644 --- a/src/game/client/components/countryflags.cpp +++ b/src/game/client/components/countryflags.cpp @@ -69,6 +69,7 @@ void CCountryFlags::LoadCountryflagsIndexfile() // add entry CCountryFlag CountryFlag; CountryFlag.m_CountryCode = CountryCode; + str_copy(CountryFlag.m_aCountryCodeString, aOrigin, sizeof(CountryFlag.m_aCountryCodeString)); CountryFlag.m_Texture = Graphics()->LoadTextureRaw(Info.m_Width, Info.m_Height, Info.m_Format, Info.m_pData, Info.m_Format, 0); mem_free(Info.m_pData); str_format(aBuf, sizeof(aBuf), "loaded country flag '%s'", aOrigin); -- cgit 1.4.1