aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-15 18:02:12 -0500
committermegamage <none@none>2009-06-15 18:02:12 -0500
commit572a9191d970b9b960555c8a5d31efd3160a8b44 (patch)
tree69909d6d37af3164da06a919dd429bef4242bb0c /src/game/Object.cpp
parentb7d218febc3d65afce761ff7f5b32f9bc98e581c (diff)
*Some creature display id update. By VladimirMangos and GriffonHeart
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 132729aea40..b2ad38ceb47 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -540,15 +540,15 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask
{
if(target->isGameMaster())
{
- if(cinfo->DisplayID_A)
- *data << cinfo->DisplayID_A;
+ if(cinfo->DisplayID_A[0])
+ *data << cinfo->DisplayID_A[0];
else
*data << 17519; // world invisible trigger's model
}
else
{
- if(cinfo->DisplayID_A2)
- *data << cinfo->DisplayID_A2;
+ if(cinfo->DisplayID_A[1])
+ *data << cinfo->DisplayID_A[1];
else
*data << 11686; // world invisible trigger's model
}