aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp
index 5c945000579..def17130372 100644
--- a/src/game/GameObject.cpp
+++ b/src/game/GameObject.cpp
@@ -1050,12 +1050,9 @@ void GameObject::Use(Unit* user)
Player* player = (Player*)user;
- if(info->camera.cinematicId)
- {
- WorldPacket data(SMSG_TRIGGER_CINEMATIC, 4);
- data << info->camera.cinematicId;
- player->GetSession()->SendPacket(&data);
- }
+ if (info->camera.cinematicId)
+ player->SendCinematicStart(info->camera.cinematicId);
+
return;
}
//fishing bobber