mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Drop Say/Yell/etc string versions.
1) DB based string_id versions must be used. 2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used
This commit is contained in:
parent
1206026b44
commit
bf5e1908d6
6 changed files with 6 additions and 22 deletions
|
|
@ -136,9 +136,9 @@ struct MANGOS_DLL_DECL ScriptedAI : public CreatureAI
|
|||
m_creature->CastSpell(who,spellInfo,true);
|
||||
}
|
||||
|
||||
void DoSay(char const* text, uint32 language)
|
||||
void DoSay(int32 text_id, uint32 language)
|
||||
{
|
||||
m_creature->Say(text,language,0);
|
||||
m_creature->Say(text_id,language,0);
|
||||
}
|
||||
|
||||
void DoGoHome();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue