diff options
| author | Shauren <none@none> | 2010-11-10 11:37:41 +0100 |
|---|---|---|
| committer | Shauren <none@none> | 2010-11-10 11:37:41 +0100 |
| commit | cc220ca7b6550b9f86643b9e6c082475e5d904ae (patch) | |
| tree | f9b6c7ecb33f4c797a1ced063fa1fc44de5eafe0 /src/server/game/Spells/SpellEffects.cpp | |
| parent | 03e4ecfbfd57367ea015fdef9fc978fbeafff84e (diff) | |
Scripts/Spells: Added script for Animal Blood pool spawning (fixes fishing daily quest "Blood is Thicker")
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 8dddcbf42e9..bc94dd09114 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -6335,7 +6335,7 @@ void Spell::EffectTransmitted(SpellEffIndex effIndex) } Map *cMap = m_caster->GetMap(); - if (goinfo->type == GAMEOBJECT_TYPE_FISHINGNODE) + if (goinfo->type == GAMEOBJECT_TYPE_FISHINGNODE || goinfo->type == GAMEOBJECT_TYPE_FISHINGHOLE) { LiquidData liqData; if ( !cMap->IsInWater(fx, fy, fz + 1.f/* -0.5f */, &liqData)) // Hack to prevent fishing bobber from failing to land on fishing hole @@ -6391,8 +6391,8 @@ void Spell::EffectTransmitted(SpellEffIndex effIndex) { if (m_caster->GetTypeId() == TYPEID_PLAYER) { - pGameObj->AddUniqueUse(m_caster->ToPlayer()); - m_caster->AddGameObject(pGameObj); // will removed at spell cancel + pGameObj->AddUniqueUse(m_caster->ToPlayer()); + m_caster->AddGameObject(pGameObj); // will removed at spell cancel } break; } |
