follow naming convention

This commit is contained in:
Andrii 2020-05-19 19:08:27 +03:00 committed by heinrich5991
parent 0505a0b577
commit ed0b15859a

View file

@ -6332,11 +6332,11 @@ void CEditor::LoadCurrentMap()
Load(m_pClient->GetCurrentMapPath(), IStorage::TYPE_ALL);
m_ValidSaveFilename = true;
CGameClient* gameClient = (CGameClient*)Kernel()->RequestInterface<IGameClient>();
vec2 center = gameClient->m_pCamera->m_Center;
CGameClient* GameClient = (CGameClient*)Kernel()->RequestInterface<IGameClient>();
vec2 Center = GameClient->m_pCamera->m_Center;
m_WorldOffsetX = center.x;
m_WorldOffsetY = center.y;
m_WorldOffsetX = Center.x;
m_WorldOffsetY = Center.y;
}
IEditor *CreateEditor() { return new CEditor; }