diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Totem.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp index 106efdfd5a8..c7ea9b1f123 100644 --- a/src/game/Totem.cpp +++ b/src/game/Totem.cpp @@ -63,6 +63,20 @@ void Totem::InitStats(uint32 duration) CreatureModelInfo const *minfo = objmgr.GetCreatureModelRandomGender(display_id); if (minfo) display_id = minfo->modelid; + switch (((Player*)m_owner)->GetTeam()) + { + case ALLIANCE: + display_id = cinfo->Modelid1; + break; + case HORDE: + if (cinfo->Modelid3) + display_id = cinfo->Modelid3; + else + display_id = cinfo->Modelid1; + break; + default: + break; + } SetDisplayId(display_id); } |