mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +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
|
|
@ -220,10 +220,10 @@ bool WaypointMovementGenerator<Creature>::Update(Creature &creature, const uint3
|
|||
break;
|
||||
}
|
||||
|
||||
creature.MonsterSay(behavior->textid[rand() % i], LANG_UNIVERSAL, ObjectGuid());
|
||||
creature.MonsterSay(behavior->textid[rand() % i], LANG_UNIVERSAL);
|
||||
}
|
||||
else
|
||||
creature.MonsterSay(behavior->textid[0], LANG_UNIVERSAL, ObjectGuid());
|
||||
creature.MonsterSay(behavior->textid[0], LANG_UNIVERSAL);
|
||||
}
|
||||
} // wpBehaviour found
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue