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:
VladimirMangos 2009-02-19 11:57:05 +03:00
parent 1206026b44
commit bf5e1908d6
6 changed files with 6 additions and 22 deletions

View file

@ -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();