Fix zoom if dummy is connected and only one is able to zoom

This commit is contained in:
fokkonaut 2019-06-15 12:23:50 +02:00
parent f7861563e2
commit 1664a6e10e

View file

@ -26,11 +26,8 @@ void CCamera::OnRender()
{
if(!(m_pClient->m_Snap.m_SpecInfo.m_Active || GameClient()->m_GameInfo.m_AllowZoom || Client()->State() == IClient::STATE_DEMOPLAYBACK))
{
if(!Client()->DummyConnected() && !Client()->DummyConnecting())
{
m_ZoomSet = false;
m_Zoom = 1.0;
}
m_ZoomSet = false;
m_Zoom = 1.0;
}
else if(!m_ZoomSet && g_Config.m_ClDefaultZoom != 10)
{