Fix double selection in spec-view

This commit is contained in:
def 2014-03-24 01:48:07 +01:00
parent ed56ea64e5
commit 6be24a310a

View file

@ -319,7 +319,7 @@ void CSpectator::OnRender()
Selected = false;
if(m_SelectorMouse.x >= x-10.0f && m_SelectorMouse.x < x+260.0f &&
m_SelectorMouse.y >= y-(LineHeight/6.0f) && m_SelectorMouse.y <= y+(LineHeight*5.0f/6.0f))
m_SelectorMouse.y >= y-(LineHeight/6.0f) && m_SelectorMouse.y < y+(LineHeight*5.0f/6.0f))
{
m_SelectedSpectatorID = m_pClient->m_Snap.m_paInfoByDDTeam[i]->m_ClientID;
Selected = true;