diff options
author | r00ty-tc <r00ty-tc@users.noreply.github.com> | 2016-04-27 16:53:18 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-19 14:47:20 +0100 |
commit | 8a71e4255ed253b7c4c8fe184c5f43f03d2b1b88 (patch) | |
tree | 64b46c140d229da43df21707c3b94e88dcda9008 /src/server/game/Handlers/MiscHandler.cpp | |
parent | 438d090c8db0ede966093f8bc9cf7f1e63b4b65e (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.
Diffstat (limited to 'src/server/game/Handlers/MiscHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/MiscHandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Handlers/MiscHandler.cpp b/src/server/game/Handlers/MiscHandler.cpp index 036c4a01fe6..dd6e67cea27 100644 --- a/src/server/game/Handlers/MiscHandler.cpp +++ b/src/server/game/Handlers/MiscHandler.cpp @@ -720,10 +720,14 @@ void WorldSession::HandleSetActionButtonOpcode(WorldPackets::Spells::SetActionBu void WorldSession::HandleCompleteCinematic(WorldPackets::Misc::CompleteCinematic& /*packet*/) { + // If player has sight bound to visual waypoint NPC we should remove it + GetPlayer()->GetCinematicMgr()->EndCinematic(); } void WorldSession::HandleNextCinematicCamera(WorldPackets::Misc::NextCinematicCamera& /*packet*/) { + // Sent by client when cinematic actually begun. So we begin the server side process + GetPlayer()->GetCinematicMgr()->BeginCinematic(); } void WorldSession::HandleCompleteMovie(WorldPackets::Misc::CompleteMovie& /*packet*/) |