aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorQAston <none@none>2010-12-05 21:38:52 +0100
committerQAston <none@none>2010-12-05 21:38:52 +0100
commit59c1a238f5f4ba3888bb588958015a245ac83c45 (patch)
tree5fca9cb35068f8635b542dc0dd4358749dd905ed /src/server/game/Spells/SpellScript.h
parente2c9453442d0bf5497d048305e0ff9c993c74ab5 (diff)
Scripts/AuraScript: Make AuraApplication in OnEffectPeriodic never be NULL.
Scripts: remove some unnecessary NULL checks from scripts. --HG-- branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rwxr-xr-xsrc/server/game/Spells/SpellScript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index 09ef73c37c0..0a06d5ab091 100755
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -444,7 +444,7 @@ class AuraScript : public _SpellScript
Unit* GetCaster() const;
// returns object on which aura was casted, target for non-area auras, area aura source for area auras
WorldObject * GetOwner() const;
- // returns owner if it's unit, NULL otherwise
+ // returns owner if it's unit or unit derived object, NULL otherwise (only for persistent area auras NULL is returned)
Unit * GetUnitOwner() const;
// returns owner if it's dynobj, NULL otherwise
DynamicObject * GetDynobjOwner() const;