diff options
| author | kaelima <kaelima@live.se> | 2011-10-19 17:40:44 +0100 |
|---|---|---|
| committer | kaelima <kaelima@live.se> | 2011-10-19 17:40:44 +0100 |
| commit | be0b2fcf97404af624e538be96ea05892d3f41be (patch) | |
| tree | 8849332a9a8930226fea13b4e5188f4b521a70c3 /src/server/game/Spells/Spell.cpp | |
| parent | d7e019072677dd098c491986ebe8c48259d20155 (diff) | |
Core/Grid:
- Simplified CellArea calculation (Original author: SilverIce)
- Removed unused code in Cell class (Original author: SilverIce)
- Improve some Visit functions.
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rwxr-xr-x | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 98ac52114c8..7eb64e74080 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -600,7 +600,6 @@ WorldObject* Spell::FindCorpseUsing() CellCoord p(Trinity::ComputeCellCoord(m_caster->GetPositionX(), m_caster->GetPositionY())); Cell cell(p); - cell.data.Part.reserved = ALL_DISTRICT; cell.SetNoCreate(); WorldObject* result = NULL; @@ -5831,7 +5830,6 @@ SpellCastResult Spell::CheckItems() { CellCoord p(Trinity::ComputeCellCoord(m_caster->GetPositionX(), m_caster->GetPositionY())); Cell cell(p); - cell.data.Part.reserved = ALL_DISTRICT; GameObject* ok = NULL; Trinity::GameObjectFocusCheck go_check(m_caster, m_spellInfo->RequiresSpellFocus); |
