diff options
author | Drake Fish <drakefish@hotmail.com> | 2012-01-22 05:28:08 +0000 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-01-22 05:28:31 +0000 |
commit | d052d4f5511f4430937ea85bb30edef737e3641f (patch) | |
tree | c942f759d0c366186cbc9b158368dc5689a242bf /src/server/game/Maps/Map.cpp | |
parent | 5cbe4abae3cc7aa5019ebfcfb2682a1c8ea439bf (diff) |
4.2.2 More opcodes, enable handlers and update structure for SMSG_INSTANCE_LOCK_WARNING_QUERY and SMSG_COMPLAIN_RESULT
Ref #4824
Diffstat (limited to 'src/server/game/Maps/Map.cpp')
-rwxr-xr-x | src/server/game/Maps/Map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index 3807873e82d..bbe349d76df 100755 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -2303,10 +2303,11 @@ bool InstanceMap::AddPlayerToMap(Player* player) // players also become permanently bound when they enter if (groupBind->perm) { - WorldPacket data(SMSG_INSTANCE_LOCK_WARNING_QUERY, 9); + WorldPacket data(SMSG_INSTANCE_LOCK_WARNING_QUERY, 10); data << uint32(60000); data << uint32(i_data ? i_data->GetCompletedEncounterMask() : 0); data << uint8(0); + data << uint8(0); // events it throws: 1 : INSTANCE_LOCK_WARNING 0 : INSTANCE_LOCK_STOP / INSTANCE_LOCK_START player->GetSession()->SendPacket(&data); player->SetPendingBind(mapSave->GetInstanceId(), 60000); } |