mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10761] Basic support for target-name in MonsterSay/etc
Change MonsterSay's target to pointer. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
146e7d3970
commit
16cd545df8
9 changed files with 72 additions and 72 deletions
|
|
@ -1020,7 +1020,7 @@ void GameObject::Use(Unit* user)
|
|||
Creature* helper = player->SummonCreature(14496, x_i, y_i, GetPositionZ(), GetOrientation(), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 10000);
|
||||
std::ostringstream output;
|
||||
output << i << ": thisDist: " << thisDistance;
|
||||
helper->MonsterSay(output.str().c_str(), LANG_UNIVERSAL, 0);
|
||||
helper->MonsterSay(output.str().c_str(), LANG_UNIVERSAL);
|
||||
*/
|
||||
|
||||
if (thisDistance <= lowestDist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue