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
+1 -1
View File
@@ -5458,7 +5458,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
target = this;
if (roll_chance_i(10))
this->ToPlayer()->Say("This is Madness!", LANG_UNIVERSAL);
this->ToPlayer()->Say(std::string("This is Madness!"), LANG_UNIVERSAL);
break;
}
// Sunwell Exalted Caster Neck (??? neck)