mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix double selection in spec-view
This commit is contained in:
parent
ed56ea64e5
commit
6be24a310a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue