From 4961d9dfa8e871844bb6d07b9565b92ceca35fd2 Mon Sep 17 00:00:00 2001 From: Choupom Date: Thu, 2 Feb 2012 10:36:57 +0100 Subject: [PATCH] fixed custom color menu overlaps other menu --- src/game/client/components/menus_settings.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 20ec17767..20ca5f470 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -1047,7 +1047,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView) } } - if(m_TeePartsColorSelection == NO_SELECTION) + if(m_TeePartsColorSelection == NO_SELECTION || m_TeePartSelection != NO_SELECTION) return; bool None = true; @@ -1092,8 +1092,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView) { Picker.HSplitTop(10.0f, 0, &Picker); Picker.VSplitLeft(20.0f, 0, &Picker); - if(m_TeePartsColorSelection != NO_SELECTION) - RenderHSLPicker(Picker); + RenderHSLPicker(Picker); } }