diff options
| author | oy <Tom_Adams@web.de> | 2011-07-31 02:04:46 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-07-31 02:04:46 +0200 |
| commit | 10c3e844d77996f6a383791edc673bd7855dd321 (patch) | |
| tree | e4fc0f1bcfd7460485e8fc92fed3788a6e9da1a1 /src/game/client/components/countryflags.cpp | |
| parent | 8d0cc2a825b39b58d9a9dc3d884159fb9255fea2 (diff) | |
| download | zcatch-10c3e844d77996f6a383791edc673bd7855dd321.tar.gz zcatch-10c3e844d77996f6a383791edc673bd7855dd321.zip | |
show alpha2 country code strings next to the flag in the country code selectors. Closes #805
Diffstat (limited to 'src/game/client/components/countryflags.cpp')
| -rw-r--r-- | src/game/client/components/countryflags.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |