mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +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
|
|
@ -158,7 +158,7 @@ void TemporarySummon::Summon(TempSummonType type, uint32 lifetime)
|
|||
m_timer = lifetime;
|
||||
m_lifetime = lifetime;
|
||||
|
||||
MapManager::Instance().GetMap(GetMapId(), this)->Add((Creature*)this);
|
||||
GetMap()->Add((Creature*)this);
|
||||
|
||||
AIM_Initialize();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue