diff options
author | Kudlaty <none@none> | 2009-09-21 07:52:16 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-09-21 07:52:16 +0200 |
commit | b4cd005f036316ebf828b301970b5795110d78af (patch) | |
tree | 67a67fa337389ea8afef7cfbf011034dbfa70cb1 /src/game/Object.cpp | |
parent | 45e2f9c002f58e7dc01207ab88f6ffa052860611 (diff) |
Reapply patch about changing modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index b2e3486a210..c13a41d9d8c 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -578,15 +578,15 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask { if(target->isGameMaster()) { - if(cinfo->DisplayID_A[0]) - *data << cinfo->DisplayID_A[0]; + if(cinfo->Modelid1) + *data << cinfo->Modelid1; else *data << 17519; // world invisible trigger's model } else { - if(cinfo->DisplayID_A[1]) - *data << cinfo->DisplayID_A[1]; + if(cinfo->Modelid3) + *data << cinfo->Modelid3; else *data << 11686; // world invisible trigger's model } |