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
This commit is contained in:
1 parent
0c8d516147
commit
9bd797d402
3 files changed
+17
-1
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user