mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2463
2463: Make zoom reset respect cl_default_zoom (fixes #2453) r=Zwelf a=def- Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
f3778302a5
|
@ -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