Do not allow base map be accessed from outside if map is instanceable.

This commit is contained in:
megamage
2011-11-23 13:14:59 -05:00
parent 0eb193f2b4
commit f091360940
4 changed files with 17 additions and 7 deletions
@@ -351,7 +351,7 @@ void FlightPathMovementGenerator::InitEndGridInfo()
void FlightPathMovementGenerator::PreloadEndGrid()
{
// used to preload the final grid where the flightmaster is
Map* endMap = sMapMgr->FindBaseMap(m_endMapId);
Map* endMap = sMapMgr->FindBaseNonInstanceMap(m_endMapId);
// Load the grid
if (endMap)