[10748] Convert MonsterSay/Say and similar functions to ObjectGuid use.

This commit is contained in:
VladimirMangos 2010-11-19 20:32:53 +03:00
parent 12b80fec68
commit f5cf98e9f4
11 changed files with 84 additions and 85 deletions

View file

@ -220,10 +220,10 @@ bool WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint3
break;
}
creature.Say(behavior->textid[rand() % i], 0, 0);
creature.Say(behavior->textid[rand() % i], LANG_UNIVERSAL, ObjectGuid());
}
else
creature.Say(behavior->textid[0], 0, 0);
creature.Say(behavior->textid[0], LANG_UNIVERSAL, ObjectGuid());
}
} // wpBehaviour found