mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fixed index typo map_find_env
This commit is contained in:
parent
71622eabb4
commit
77fa0acbb1
|
@ -104,7 +104,7 @@ bool FindEnv(const char aFilename[64], const int EnvID)
|
|||
CQuad *pQuads = (CQuad *)InputMap.GetDataSwapped(pQuadLayer->m_Data);
|
||||
|
||||
int GroupID = 0, LayerRelativeID = 0;
|
||||
if(!GetLayerGroupIDs(InputMap, i, GroupID, LayerRelativeID))
|
||||
if(!GetLayerGroupIDs(InputMap, i + 1, GroupID, LayerRelativeID))
|
||||
return false;
|
||||
|
||||
GetEnvelopedQuads(pQuads, pQuadLayer->m_NumQuads, EnvID, GroupID, LayerRelativeID, QuadsCounter, pEnvQuads);
|
||||
|
|
Loading…
Reference in a new issue