Core/Scripts: pass message parameter by reference in OnChat methods to make it possible to be modified inside the script.

--HG--
branch : trunk
This commit is contained in:
azazel
2010-11-17 18:14:35 +06:00
parent 169c2ef87a
commit 4fb572015a
9 changed files with 33 additions and 33 deletions
@@ -629,14 +629,14 @@ public:
if (count < 3)
{
if (plr)
plr->Say(Text[count],0);
plr->Say(std::string(Text[count]),0);
}
else
{
DoCast(me, SPELL_RHYME_BIG);
if (plr)
{
plr->Say(Text[count],0);
plr->Say(std::string(Text[count]),0);
plr->HandleEmoteCommand(ANIM_EMOTE_SHOUT);
}
wp_reached = true;