diff options
| author | megamage <none@none> | 2009-06-13 09:40:44 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-13 09:40:44 -0500 |
| commit | 67a356767df4fa84a01b741d4e48235297144540 (patch) | |
| tree | 82dfdf3f5026b1c395e1e93c481b810054b3fd8d /src/game/CreatureEventAI.cpp | |
| parent | ee9c12b48041884267c483ec1d5a197a9d9729ab (diff) | |
[7995] Check display id correctness for creature and gameobjects. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureEventAI.cpp')
| -rw-r--r-- | src/game/CreatureEventAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/CreatureEventAI.cpp b/src/game/CreatureEventAI.cpp index 3eb3a75c874..0e1c6c02319 100644 --- a/src/game/CreatureEventAI.cpp +++ b/src/game/CreatureEventAI.cpp @@ -386,8 +386,8 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32 if (CreatureInfo const* ci = GetCreatureTemplateStore(action.morph.creatureId)) { //use default display - if (ci->Modelid_A1) - m_creature->SetDisplayId(ci->Modelid_A1); + if (ci->DisplayID_A) + m_creature->SetDisplayId(ci->DisplayID_A); } } //if no param1, then use value from param2 (modelId) |
