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
This commit is contained in:
Shauren
2010-12-17 13:43:24 +01:00
parent ee3fd3ebeb
commit 82f45966fc
99 changed files with 353 additions and 361 deletions
@@ -105,7 +105,7 @@ public:
events.Update(diff);
if (me->hasUnitState(UNIT_STAT_CASTING))
if (me->HasUnitState(UNIT_STAT_CASTING))
return;
while (uint32 eventId = events.ExecuteEvent())
@@ -117,7 +117,7 @@ public:
events.Update(diff);
if (me->hasUnitState(UNIT_STAT_CASTING))
if (me->HasUnitState(UNIT_STAT_CASTING))
return;
while (uint32 eventId = events.ExecuteEvent())
@@ -226,7 +226,7 @@ public:
events.Update(diff);
if (me->hasUnitState(UNIT_STAT_CASTING))
if (me->HasUnitState(UNIT_STAT_CASTING))
return;
if (Aura *overchargedAura = me->GetAura(SPELL_OVERCHARGED))
@@ -116,7 +116,7 @@ public:
events.Update(diff);
if (me->hasUnitState(UNIT_STAT_CASTING))
if (me->HasUnitState(UNIT_STAT_CASTING))
return;
while (uint32 eventId = events.ExecuteEvent())
@@ -103,7 +103,7 @@ public:
events.Update(diff);
if (me->hasUnitState(UNIT_STAT_CASTING))
if (me->HasUnitState(UNIT_STAT_CASTING))
return;
while (uint32 eventId = events.ExecuteEvent())