diff options
Diffstat (limited to 'src/game/Totem.cpp')
-rw-r--r-- | src/game/Totem.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp index 0358cc0c990..6b277136444 100644 --- a/src/game/Totem.cpp +++ b/src/game/Totem.cpp @@ -73,6 +73,24 @@ void Totem::InitStats(uint32 duration) display_id = cinfo->Modelid3; else display_id = cinfo->Modelid1; + + switch (((Player*)m_owner)->getRace()) + { + case RACE_ORC: + if (cinfo->Modelid2) + display_id = cinfo->Modelid2; + else + display_id = cinfo->Modelid1; + break; + case RACE_TROLL: + if (cinfo->Modelid4) + display_id = cinfo->Modelid4; + else + display_id = cinfo->Modelid1; + break; + default: + break; + } break; default: break; |