mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap()
This commit is contained in:
parent
c37cfd0c2f
commit
ac00eee418
23 changed files with 105 additions and 105 deletions
|
|
@ -68,7 +68,7 @@ ObjectGridRespawnMover::Visit(CreatureMapType &m)
|
|||
|
||||
if(cur_cell.DiffGrid(resp_cell))
|
||||
{
|
||||
MapManager::Instance().GetMap(c->GetMapId(), c)->CreatureRespawnRelocation(c);
|
||||
c->GetMap()->CreatureRespawnRelocation(c);
|
||||
// false result ignored: will be unload with other creatures at grid
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue