aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authorw12x <none@none>2008-10-27 11:48:45 -0500
committerw12x <none@none>2008-10-27 11:48:45 -0500
commitfc77e2d761a5028a51318493a17999069017c4e3 (patch)
tree90fbd6be1f819de32d36a1da1af44c97837c0a50 /src/game/Object.cpp
parent4cbc6f830a833719b7586b333aa8151dab563b60 (diff)
[svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction. Patch provided by WarHead.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 2d6a5786471..834c958e662 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -601,9 +601,9 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask
if(cinfo->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER)
{
if(target->isGameMaster())
- *data << cinfo->DisplayID_A;
+ *data << cinfo->Modelid1;
else
- *data << cinfo->DisplayID_H;
+ *data << cinfo->Modelid3;
}
else
*data << m_uint32Values[ index ];