aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-11-27 01:41:26 +0100
committerKudlaty <none@none>2009-11-27 01:41:26 +0100
commit9bd797d402c498d2e8f70aa916b3caf3956577af (patch)
tree5a9d8af6d4ddc76a9ab58c545148233d57f5595b /src/game/Object.cpp
parent0c8d51614716ef7df1da8ebf5bbabe0c665da4ed (diff)
Apply #412.
Add support to gameobject type Transport (11) that should stop like Orgrimmar arena Elevators or pilars. Patch by Spp and Opterman --HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 68f7d08be68..cb459aca43a 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -481,7 +481,7 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask
bool IsActivateToQuest = false;
if (updatetype == UPDATETYPE_CREATE_OBJECT || updatetype == UPDATETYPE_CREATE_OBJECT2)
{
- if (isType(TYPEMASK_GAMEOBJECT) && !((GameObject*)this)->IsTransport())
+ if (isType(TYPEMASK_GAMEOBJECT) && !((GameObject*)this)->IsDynTransport())
{
if ( ((GameObject*)this)->ActivateToQuest(target) || target->isGameMaster())
IsActivateToQuest = true;