From 82f45966fc00106b52294e4c01a2848ba24e2eb8 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 17 Dec 2010 13:43:24 +0100 Subject: 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 --- src/server/scripts/Spells/spell_quest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Spells') 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*/) -- cgit v1.2.3