mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fix warnings
This commit is contained in:
parent
7aa547946b
commit
baa69676ea
|
@ -1115,7 +1115,6 @@ int CMapLayers::TileLayersOfGroup(CMapItemGroup* pGroup)
|
|||
for(int l = 0; l < pGroup->m_NumLayers; l++)
|
||||
{
|
||||
CMapItemLayer *pLayer = m_pLayers->GetLayer(pGroup->m_StartLayer+l);
|
||||
bool IsGameLayer = false;
|
||||
bool IsFrontLayer = false;
|
||||
bool IsSwitchLayer = false;
|
||||
bool IsTeleLayer = false;
|
||||
|
@ -1124,7 +1123,6 @@ int CMapLayers::TileLayersOfGroup(CMapItemGroup* pGroup)
|
|||
|
||||
if(pLayer == (CMapItemLayer*)m_pLayers->GameLayer())
|
||||
{
|
||||
IsGameLayer = true;
|
||||
PassedGameLayer = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue