mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
remove spaces
This commit is contained in:
parent
e314802c9c
commit
9228e632e9
|
@ -63,7 +63,7 @@ void CBackground::LoadBackground()
|
|||
else if(str_comp(g_Config.m_ClBackgroundEntities, CURRENT) == 0)
|
||||
{
|
||||
m_pMap = Kernel()->RequestInterface<IEngineMap>();
|
||||
if (m_pMap->IsLoaded())
|
||||
if(m_pMap->IsLoaded())
|
||||
{
|
||||
m_pLayers = GameClient()->Layers();
|
||||
m_pImages = GameClient()->m_pMapimages;
|
||||
|
@ -79,7 +79,7 @@ void CBackground::LoadBackground()
|
|||
|
||||
void CBackground::OnMapLoad()
|
||||
{
|
||||
if (str_comp(g_Config.m_ClBackgroundEntities, CURRENT) == 0 || str_comp(g_Config.m_ClBackgroundEntities, m_aMapName))
|
||||
if(str_comp(g_Config.m_ClBackgroundEntities, CURRENT) == 0 || str_comp(g_Config.m_ClBackgroundEntities, m_aMapName))
|
||||
{
|
||||
m_LastLoad = 0;
|
||||
LoadBackground();
|
||||
|
|
Loading…
Reference in a new issue