From 3b837173930337b9fd3cba3f786df724c93121a2 Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sun, 27 Aug 2023 14:09:21 +0200 Subject: [PATCH] Editor api renamed WorldZoom to GetWorldZoom --- src/game/editor/chillerbot/chillereditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/editor/chillerbot/chillereditor.cpp b/src/game/editor/chillerbot/chillereditor.cpp index 3e1fab91061..b91922a3db6 100644 --- a/src/game/editor/chillerbot/chillereditor.cpp +++ b/src/game/editor/chillerbot/chillereditor.cpp @@ -240,7 +240,7 @@ void CChillerEditor::DoMapEditor() float dist = distance( vec2(m_TextIndexX, m_TextIndexY), vec2((m_pEditor->MapView()->GetWorldOffset().x + m_pEditor->MapView()->GetEditorOffset().x) / 32, (m_pEditor->MapView()->GetWorldOffset().y + m_pEditor->MapView()->GetEditorOffset().y) / 32)); - dist /= m_pEditor->MapView()->WorldZoom(); + dist /= m_pEditor->MapView()->GetWorldZoom(); if(dist > 10.0f) { m_pEditor->MapView()->SetWorldOffset(vec2(