aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-01-24 23:38:46 -0300
committerariel- <ariel-@users.noreply.github.com>2017-01-24 23:38:46 -0300
commit6ca9f99aafb745f1c316daf168734230b76d161b (patch)
tree425ea8b65b8d37dac1d2750eb6e3b81c2720787e /src/server/game/Spells/SpellScript.h
parent2c20b368bc05bd58b5a77825dc2c8083386ad6c4 (diff)
Core/SpellScript: Pass vector to ValidateSpellInfo by reference
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r--src/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 51d3c2a85ab..330727cdc1e 100644
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -133,7 +133,7 @@ class TC_GAME_API _SpellScript
// use for: deallocating memory allocated by script
virtual void Unload() { }
// Helpers
- static bool ValidateSpellInfo(std::vector<uint32> spellIds);
+ static bool ValidateSpellInfo(std::vector<uint32> const& spellIds);
};
// SpellScript interface - enum used for runtime checks of script function calls