summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-10-31 20:54:19 +0000
committeralberth <alberth@openttd.org>2012-10-31 20:54:19 +0000
commitf883454db281fefbd33b0b7027d25414b5d83c41 (patch)
tree0c20220bdea7d640041005cb89c1e40350b6a50b
parent8e375340936cef700e0628a3cc1e21035ae9df0b (diff)
downloadopenttd-f883454db281fefbd33b0b7027d25414b5d83c41.tar.xz
(svn r24655) -Codechange(r18310): Difference between female and male is no longer needed for tie and earrings (found by botankras)
-rw-r--r--src/company_gui.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index 654eb94e6..1aa5f7bec 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: