diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 2f38b91dc..a371fb564 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -871,7 +871,7 @@ CMenus::CListboxItem CMenus::UiDoListboxNextRow() if(Item.m_Rect.y+Item.m_Rect.h > gs_ListBoxOriginalView.y) { - if(Item.m_HitRect.y < Item.m_HitRect.y) // clip the selection + if(Item.m_HitRect.y < gs_ListBoxOriginalView.y) // clip the selection { Item.m_HitRect.h -= gs_ListBoxOriginalView.y-Item.m_HitRect.y; Item.m_HitRect.y = gs_ListBoxOriginalView.y;