[c12535] Fix Typo from 10727. Special thanks to Morenn for spotting

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12389] - 704dcc7)
This commit is contained in:
Schmoozerd 2013-03-03 17:37:11 +02:00 committed by Antz
parent 2502fb8a46
commit 86a243c910
2 changed files with 3 additions and 4 deletions

View file

@ -61,11 +61,10 @@ Map::~Map()
void Map::LoadMapAndVMap(int gx, int gy)
{
if (m_bLoadedGrids[gx][gx])
if (m_bLoadedGrids[gx][gy])
return;
GridMap* pInfo = m_TerrainData->Load(gx, gy);
if (pInfo)
if (m_TerrainData->Load(gx, gy))
m_bLoadedGrids[gx][gy] = true;
}