mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10748] Convert MonsterSay/Say and similar functions to ObjectGuid use.
This commit is contained in:
parent
12b80fec68
commit
f5cf98e9f4
11 changed files with 84 additions and 85 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue