mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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
|
|
@ -762,7 +762,7 @@ void GameEventMgr::ChangeEquipOrModel(int16 event_id, bool activate)
|
|||
if (data2 && activate)
|
||||
{
|
||||
CreatureInfo const *cinfo = ObjectMgr::GetCreatureTemplate(data2->id);
|
||||
uint32 display_id = Creature::ChooseDisplayId(0,cinfo,data2);
|
||||
uint32 display_id = Creature::ChooseDisplayId(cinfo,data2);
|
||||
CreatureModelInfo const *minfo = sObjectMgr.GetCreatureModelRandomGender(display_id);
|
||||
if (minfo)
|
||||
display_id = minfo->modelid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue