mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[11470] Final cleanup uint64 guid cases
Also drop logout player update fields cleanup that in any cases not saved.
This commit is contained in:
parent
a2b6a6fde5
commit
719e298795
26 changed files with 144 additions and 153 deletions
|
|
@ -529,8 +529,8 @@ void WorldSession::HandleCancelTradeOpcode(WorldPacket& /*recvPacket*/)
|
|||
|
||||
void WorldSession::HandleInitiateTradeOpcode(WorldPacket& recvPacket)
|
||||
{
|
||||
uint64 ID;
|
||||
recvPacket >> ID;
|
||||
ObjectGuid otherGuid;
|
||||
recvPacket >> otherGuid;
|
||||
|
||||
if (GetPlayer()->m_trade)
|
||||
return;
|
||||
|
|
@ -559,7 +559,7 @@ void WorldSession::HandleInitiateTradeOpcode(WorldPacket& recvPacket)
|
|||
return;
|
||||
}
|
||||
|
||||
Player* pOther = ObjectAccessor::FindPlayer( ID );
|
||||
Player* pOther = ObjectAccessor::FindPlayer( otherGuid );
|
||||
|
||||
if (!pOther)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue