diff options
author | Rat <none@none> | 2010-04-21 13:55:43 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-04-21 13:55:43 +0200 |
commit | b7a44ae2baede5000b13c911f434d33a523d9c4c (patch) | |
tree | bc3ae2453a40e8bc486c67b76e3eeb989fef2872 /src/game/Object.cpp | |
parent | b0daeeb4ab06403fd9af1ca21cc8efc860b96c64 (diff) |
*fix visibility for trigger creatures
NOTE: if you see any trigger (in player mode) with a visible model (DB bug), please report creature entry + modelid in bugtracker
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 8b58a7c7300..2a7397db8b8 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -585,14 +585,14 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask if (target->isGameMaster()) { if (cinfo->Modelid1) - *data << cinfo->Modelid1; + *data << cinfo->Modelid1;//Modelid1 is a visible model for gms else *data << 17519; // world invisible trigger's model } else { - if (cinfo->Modelid3) - *data << cinfo->Modelid3; + if (cinfo->Modelid2) + *data << cinfo->Modelid2;//Modelid2 is an invisible model for players else *data << 11686; // world invisible trigger's model } |