Core: Fix more warnings (very few left under linux 32)

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-31 11:39:51 +02:00
parent 849ae84f5b
commit b9e19572c4
5 changed files with 15 additions and 16 deletions
@@ -128,7 +128,7 @@ static SpiritInfoStruct SpiritInfo[] =
struct TransformStruct
{
uint32 sound;
char* text;
std::string text;
uint32 spell, unaura;
};
@@ -353,7 +353,7 @@ class boss_zuljin : public CreatureScript
me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, 0);
me->RemoveAurasDueToSpell(Transform[Phase].unaura);
DoCast(me, Transform[Phase].spell);
me->MonsterYell(Transform[Phase].text, LANG_UNIVERSAL, NULL);
me->MonsterYell(Transform[Phase].text.c_str(), LANG_UNIVERSAL, NULL);
DoPlaySoundToSet(me, Transform[Phase].sound);
if (Phase > 0)
{