aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorShauren <none@none>2010-12-17 13:43:24 +0100
committerShauren <none@none>2010-12-17 13:43:24 +0100
commit82f45966fc00106b52294e4c01a2848ba24e2eb8 (patch)
treedd3ee1457f54da1cdeebe3ded7e6e29f282d2bc9 /src/server/scripts/Spells
parentee3fd3ebebcbf85d3ff942eb462b15368b76e8c1 (diff)
Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts) --HG-- branch : trunk
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index 44c21a26932..834c32d0528 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -223,7 +223,7 @@ public:
{
Unit* pTarget = aurApp->GetTarget();
pTarget->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
- pTarget->addUnitState(UNIT_STAT_ROOT);
+ pTarget->AddUnitState(UNIT_STAT_ROOT);
}
void HandleEffectRemove(AuraEffect const * /*aurEff*/, AuraApplication const * aurApp, AuraEffectHandleModes /*mode*/)