mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10760] Remove unneeded non-player Say et al.
Now expected direct use non-player WorldObject::MonsterSay/etc version Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ca56284912
commit
146e7d3970
7 changed files with 4 additions and 28 deletions
|
|
@ -220,10 +220,10 @@ bool WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint3
|
|||
break;
|
||||
}
|
||||
|
||||
creature.Say(behavior->textid[rand() % i], LANG_UNIVERSAL, ObjectGuid());
|
||||
creature.MonsterSay(behavior->textid[rand() % i], LANG_UNIVERSAL, ObjectGuid());
|
||||
}
|
||||
else
|
||||
creature.Say(behavior->textid[0], LANG_UNIVERSAL, ObjectGuid());
|
||||
creature.MonsterSay(behavior->textid[0], LANG_UNIVERSAL, ObjectGuid());
|
||||
}
|
||||
} // wpBehaviour found
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue