mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix zoom if dummy is connected and only one is able to zoom
This commit is contained in:
parent
f7861563e2
commit
1664a6e10e
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue