Do not allow base map be accessed from outside if map is instanceable.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user