diff options
| author | QAston <qaston@gmail.com> | 2011-06-23 13:28:52 +0200 |
|---|---|---|
| committer | QAston <qaston@gmail.com> | 2011-06-23 13:28:52 +0200 |
| commit | 3137a82c7cedb71f4a8ef06cb2d6e5741af65c9b (patch) | |
| tree | 2c2345632592f55129ddd931e8b97391b0e2efb8 /src/server/scripts/EasternKingdoms | |
| parent | 9d9472e5cc2f761fbc93f8f0e87903898bf48b91 (diff) | |
Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
- Move IsQuestTameSpell function to SpellMgr.h
- Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp b/src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp index 9e8890b7064..896d27bd768 100644 --- a/src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp +++ b/src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp @@ -47,8 +47,7 @@ public: } if (pInstance->GetData(EVENT_STATE)!= CANNON_NOT_USED) return false; - if (targets.getGOTarget() && targets.getGOTarget()->GetTypeId() == TYPEID_GAMEOBJECT && - targets.getGOTarget()->GetEntry() == GO_DEFIAS_CANNON) + if (targets.GetGOTarget() && targets.GetGOTarget()->GetEntry() == GO_DEFIAS_CANNON) { pInstance->SetData(EVENT_STATE, CANNON_GUNPOWDER_USED); } |
