mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Make zoom reset respect cl_default_zoom (fixes #2453)
This commit is contained in:
parent
c6a0698805
commit
f9d2c14ff6
|
@ -166,5 +166,5 @@ void CCamera::ConZoomMinus(IConsole::IResult *pResult, void *pUserData)
|
|||
}
|
||||
void CCamera::ConZoomReset(IConsole::IResult *pResult, void *pUserData)
|
||||
{
|
||||
((CCamera *)pUserData)->ChangeZoom(1.0f);
|
||||
((CCamera *)pUserData)->ChangeZoom(pow(ZoomStep, g_Config.m_ClDefaultZoom - 10));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue