Core: Tabs sorry
This commit is contained in:
parent
bd799ecd5b
commit
dc4ee19b8d
1 changed files with 3 additions and 3 deletions
|
|
@ -15404,9 +15404,9 @@ bool Unit::IsPolymorphed() const
|
|||
void Unit::SetDisplayId(uint32 modelId)
|
||||
{
|
||||
SetUInt32Value(UNIT_FIELD_DISPLAYID, modelId);
|
||||
// Set Gender by modelId
|
||||
if (CreatureModelInfo const* minfo = sObjectMgr->GetCreatureModelInfo(modelId))
|
||||
SetByteValue(UNIT_FIELD_BYTES_0, 2, minfo->gender);
|
||||
// Set Gender by modelId
|
||||
if (CreatureModelInfo const* minfo = sObjectMgr->GetCreatureModelInfo(modelId))
|
||||
SetByteValue(UNIT_FIELD_BYTES_0, 2, minfo->gender);
|
||||
}
|
||||
|
||||
void Unit::RestoreDisplayId()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue