mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
follow naming convention
This commit is contained in:
parent
0505a0b577
commit
ed0b15859a
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue