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:
1 parent
169c2ef87a
commit
4fb572015a
9 files changed
+33
-33
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user