mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10373] Drop unused team-argument in ChooseDisplayId -function
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
a17450047b
commit
a15b0916b6
7 changed files with 12 additions and 20 deletions
|
|
@ -450,7 +450,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
|
|||
{
|
||||
if (CreatureInfo const* ci = GetCreatureTemplateStore(action.morph.creatureId))
|
||||
{
|
||||
uint32 display_id = Creature::ChooseDisplayId(0,ci);
|
||||
uint32 display_id = Creature::ChooseDisplayId(ci);
|
||||
m_creature->SetDisplayId(display_id);
|
||||
}
|
||||
}
|
||||
|
|
@ -811,7 +811,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
|
|||
{
|
||||
if (CreatureInfo const* cInfo = GetCreatureTemplateStore(action.mount.creatureId))
|
||||
{
|
||||
uint32 display_id = Creature::ChooseDisplayId(0, cInfo);
|
||||
uint32 display_id = Creature::ChooseDisplayId(cInfo);
|
||||
m_creature->Mount(display_id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue