aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorSpp- <u84280@epreinf21.(none)>2011-08-01 14:51:44 +0200
committerSpp- <u84280@epreinf21.(none)>2011-08-01 14:51:44 +0200
commit079f292b15eea7d5bb679d098c4675797ba14e5f (patch)
tree2162a5ad9c1726664de03d90ff4ebb9097585b60 /src/server/game/Spells/SpellScript.h
parentacd0fc79f63f6881ead6fff2985755dd45ea3a5d (diff)
Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change
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 aa0dc044e14..3b44bf92667 100755
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -585,7 +585,7 @@ class AuraScript : public _SpellScript
uint32 GetId() const;
// returns guid of object which casted the aura (m_originalCaster of the Spell class)
- uint64 const& GetCasterGUID() const;
+ unit64 const GetCasterGUID() const;
// returns unit which casted the aura or NULL if not avalible (caster logged out for example)
Unit* GetCaster() const;
// returns object on which aura was casted, target for non-area auras, area aura source for area auras