[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) void Map::LoadMapAndVMap(int gx, int gy)
{ {
if (m_bLoadedGrids[gx][gx]) if (m_bLoadedGrids[gx][gy])
return; return;
GridMap* pInfo = m_TerrainData->Load(gx, gy); if (m_TerrainData->Load(gx, gy))
if (pInfo)
m_bLoadedGrids[gx][gy] = true; m_bLoadedGrids[gx][gy] = true;
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12534" #define REVISION_NR "12535"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__