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.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/client/components/countryflags.h') diff --git a/src/game/client/components/countryflags.h b/src/game/client/components/countryflags.h index 15eb8598..ad24a762 100644 --- a/src/game/client/components/countryflags.h +++ b/src/game/client/components/countryflags.h @@ -12,9 +12,10 @@ public: struct CCountryFlag { int m_CountryCode; + char m_aCountryCodeString[8]; int m_Texture; - bool operator<(const CCountryFlag &Other) { return m_CountryCode < Other.m_CountryCode; } + bool operator<(const CCountryFlag &Other) { return str_comp(m_aCountryCodeString, Other.m_aCountryCodeString) < 0; } }; void OnInit(); -- cgit 1.4.1