diff options
author | r00ty-tc <r00ty-tc@users.noreply.github.com> | 2016-04-14 01:34:17 +0200 |
---|---|---|
committer | r00ty-tc <r00ty-tc@users.noreply.github.com> | 2016-04-14 01:34:17 +0200 |
commit | 87b4533046d337fe05d7891c3632d34f8811b73e (patch) | |
tree | cb0d9cac227a6ab0a099d83387c1320a52b369a1 /src/server/game/Handlers/MiscHandler.cpp | |
parent | afaa8e2c6035d5279521b3087a54e85a0961ff59 (diff) |
[Core/Maps] Activate creatures and objects during opening cinematics and other flyby
cameras (sunwell etc).
Requires re-running map extractor to extract camera m2 files from data
files. These are very small.
Closes #4755
Closes #16772
Diffstat (limited to 'src/server/game/Handlers/MiscHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/MiscHandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/game/Handlers/MiscHandler.cpp b/src/server/game/Handlers/MiscHandler.cpp index 9efdfce9243..467d3730ab2 100644 --- a/src/server/game/Handlers/MiscHandler.cpp +++ b/src/server/game/Handlers/MiscHandler.cpp @@ -1056,12 +1056,14 @@ void WorldSession::HandleSetActionButtonOpcode(WorldPacket& recvData) void WorldSession::HandleCompleteCinematic(WorldPacket& /*recvData*/) { - TC_LOG_DEBUG("network", "WORLD: Received CMSG_COMPLETE_CINEMATIC"); + // If player has sight bound to visual waypoint NPC we should remove it + GetPlayer()->EndCinematic(); } void WorldSession::HandleNextCinematicCamera(WorldPacket& /*recvData*/) { - TC_LOG_DEBUG("network", "WORLD: Received CMSG_NEXT_CINEMATIC_CAMERA"); + // Sent by client when cinematic actually begun. So we begin the server side process + GetPlayer()->BeginCinematic(); } void WorldSession::HandleMoveTimeSkippedOpcode(WorldPacket& recvData) |