[7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating. Author: NoFantasy
--HG-- branch : trunk
This commit is contained in:
1 parent
81ef5e632f
commit
5acc0c057b
4 files changed
+26
-20
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user