From 37cda0af25f62aefb1d7d16e6276194be6bdde7b Mon Sep 17 00:00:00 2001 From: alberth Date: Wed, 31 Oct 2012 20:54:19 +0000 Subject: [PATCH] (svn r24655) -Codechange(r18310): Difference between female and male is no longer needed for tie and earrings (found by botankras) --- src/company_gui.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 654eb94e6d..1aa5f7bec2 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -1281,11 +1281,7 @@ public: break; case WID_SCMF_TIE_EARRING: - if (this->is_female) { // Only for female faces - this->DrawFaceStringLabel(WID_SCMF_TIE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_TIE_EARRING, this->ge), false); - } else { // Only for male faces - this->DrawFaceStringLabel(WID_SCMF_TIE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_TIE_EARRING, this->ge), false); - } + this->DrawFaceStringLabel(WID_SCMF_TIE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_TIE_EARRING, this->ge), false); break; case WID_SCMF_LIPS_MOUSTACHE: