From 3d63afacc29def1582610e5784a6a7f7fdafcb85 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 19 Mar 2011 19:31:00 +0100 Subject: fixed a problem with the country flag selector, changed a localisation and the format of a file --- src/game/client/components/countryflags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 3a56d43a..ae0217b2 100644 --- a/src/game/client/components/countryflags.cpp +++ b/src/game/client/components/countryflags.cpp @@ -59,7 +59,7 @@ void CCountryFlags::LoadCountryflagsIndexfile() // add entry CCountryFlag CountryFlag; - CountryFlag.m_CountryCode = str_toint(pReplacement); + CountryFlag.m_CountryCode = str_toint(pReplacement+3); 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