mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
Over 100 camangos Cata commits applied (to c12950)
Over 100 camangos Cata commits applied. up to and inclusing c12950.
This commit is contained in:
parent
b4ec0440aa
commit
eef77eadb9
117 changed files with 4314 additions and 3547 deletions
|
|
@ -37,6 +37,8 @@
|
|||
#include "Util.h"
|
||||
#include "DB2Structure.h"
|
||||
#include "DB2Stores.h"
|
||||
#include "Vehicle.h"
|
||||
#include "TransportSystem.h"
|
||||
|
||||
/* differeces from off:
|
||||
-you can uninvite yourself - is is useful
|
||||
|
|
@ -905,6 +907,14 @@ void WorldSession::BuildPartyMemberStatsChangedPacket(Player* player, WorldPacke
|
|||
*data << uint32(0);
|
||||
*data << uint8(0);
|
||||
}
|
||||
|
||||
if (mask & GROUP_UPDATE_FLAG_VEHICLE_SEAT)
|
||||
{
|
||||
if (player->GetTransportInfo())
|
||||
*data << uint32(((Unit*)player->GetTransportInfo()->GetTransport())->GetVehicleInfo()->GetVehicleEntry()->m_seatID[player->GetTransportInfo()->GetTransportSeat()]);
|
||||
else
|
||||
*data << uint32(0);
|
||||
}
|
||||
}
|
||||
|
||||
/*this procedure handles clients CMSG_REQUEST_PARTY_MEMBER_STATS request*/
|
||||
|
|
@ -1048,6 +1058,9 @@ void WorldSession::HandleRequestPartyMemberStatsOpcode(WorldPacket& recv_data)
|
|||
data << uint32(0); // GROUP_UPDATE_FLAG_PET_AURAS
|
||||
}
|
||||
|
||||
if (player->GetTransportInfo()) // GROUP_UPDATE_FLAG_VEHICLE_SEAT
|
||||
data << uint32(((Unit*)player->GetTransportInfo()->GetTransport())->GetVehicleInfo()->GetVehicleEntry()->m_seatID[player->GetTransportInfo()->GetTransportSeat()]);
|
||||
|
||||
data << uint32(8); // GROUP_UPDATE_FLAG_PHASE
|
||||
data << uint32(0); // GROUP_UPDATE_FLAG_PHASE
|
||||
data << uint8(0); // GROUP_UPDATE_FLAG_PHASE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue