diff options
| author | Subv <subv2112@gmail.com> | 2014-06-07 20:26:25 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2014-06-07 20:26:25 -0500 |
| commit | bbe51bbd130908603c0a5c0c5d14eae2f0495ede (patch) | |
| tree | f04e966b310881aeacde5149df697ebc612f01f3 /src/server/game/Entities/Object | |
| parent | 402b9b055c6a32ee0e105abc103aac18c0ad33ee (diff) | |
Core/Phases: Removed more of the old phasemasks
Diffstat (limited to 'src/server/game/Entities/Object')
| -rw-r--r-- | src/server/game/Entities/Object/Object.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index 77c02a7ed62..ee5e6a0faab 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -2329,13 +2329,9 @@ TempSummon* Map::SummonCreature(uint32 entry, Position const& pos, SummonPropert } } - uint32 phase = PHASEMASK_NORMAL; std::set<uint32> phases; if (summoner) - { - phase = summoner->GetPhaseMask(); phases = summoner->GetPhases(); - } TempSummon* summon = NULL; switch (mask) @@ -2357,7 +2353,7 @@ TempSummon* Map::SummonCreature(uint32 entry, Position const& pos, SummonPropert break; } - if (!summon->Create(sObjectMgr->GenerateLowGuid(HIGHGUID_UNIT), this, phase, entry, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation(), nullptr, vehId)) + if (!summon->Create(sObjectMgr->GenerateLowGuid(HIGHGUID_UNIT), this, 0, entry, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation(), nullptr, vehId)) { delete summon; return NULL; |
