Core/Player: replaced a world packet variable with its packet class version and removed a leftover from previous cleanups
This commit is contained in:
1 parent
20fdb215db
commit
81813c1c0b
1 file changed
+2
-4
@@ -19111,9 +19111,8 @@ void Player::BindToInstance()
|
||||
if (!mapSave) //it seems sometimes mapSave is nullptr, but I did not check why
|
||||
return;
|
||||
|
||||
WorldPacket data(SMSG_INSTANCE_SAVE_CREATED, 4);
|
||||
data << uint32(0);
|
||||
SendDirectMessage(&data);
|
||||
WorldPackets::Instance::InstanceSaveCreated instanceSaveCreated;
|
||||
SendDirectMessage(instanceSaveCreated.Write());
|
||||
if (!IsGameMaster())
|
||||
{
|
||||
BindToInstance(mapSave, true, EXTEND_STATE_KEEP);
|
||||
@@ -19180,7 +19179,6 @@ void Player::SendRaidInfo()
|
||||
void Player::SendSavedInstances()
|
||||
{
|
||||
bool hasBeenSaved = false;
|
||||
WorldPacket data;
|
||||
|
||||
for (uint8 i = 0; i < MAX_DIFFICULTY; ++i)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user