diff options
| author | n0n4m3 <none@none> | 2009-12-24 10:20:15 +0100 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2009-12-24 10:20:15 +0100 |
| commit | 250a00cc1c91d2df2b6c4f72a2ad322b46fed783 (patch) | |
| tree | eab0216df4c91777747e866ed4525c9fbc7a037f /src/game/SpellEffects.cpp | |
| parent | acdc4ca15b69c84197f867192328829904646a66 (diff) | |
Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 72a6ad32bb9..f535033b0e6 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -61,7 +61,6 @@ #include "SkillDiscovery.h" #include "Formulas.h" #include "Vehicle.h" -#include "TimeMgr.h" pEffect SpellEffects[TOTAL_SPELL_EFFECTS]= { @@ -999,7 +998,7 @@ void Spell::EffectDummy(uint32 i) Creature* creatureTarget = (Creature*)unitTarget; - GameObject* Crystal_Prison = m_caster->SummonGameObject(179644, creatureTarget->GetPositionX(), creatureTarget->GetPositionY(), creatureTarget->GetPositionZ(), creatureTarget->GetOrientation(), 0, 0, 0, 0, creatureTarget->GetRespawnTime()-sGameTime.GetGameTime()); + GameObject* Crystal_Prison = m_caster->SummonGameObject(179644, creatureTarget->GetPositionX(), creatureTarget->GetPositionY(), creatureTarget->GetPositionZ(), creatureTarget->GetOrientation(), 0, 0, 0, 0, creatureTarget->GetRespawnTime()-time(NULL)); sLog.outDebug("SummonGameObject at SpellEfects.cpp EffectDummy for Spell 23019"); creatureTarget->ForcedDespawn(); |
