Core/Objects

* Split BuildValuesUpdate into separate virtual methods for every object type that does something special with update fields
* Removed _SetCreateBits/_SetUpdateBits to halve the amount of checks if field needs to be sent
This commit is contained in:
Shauren committed 2013-06-15 15:16:36 +02:00
1 parent a8a5239aad
commit fa75fe78bd
8 files changed
+302 -333

No files matched your search

+1 -3
View File
@@ -330,9 +330,7 @@ void WorldSession::HandleMovementOpcodes(WorldPacket& recvData)
if (!foundNewTransport)
{
plrMover->m_transport = NULL;
movementInfo.t_pos.Relocate(0.0f, 0.0f, 0.0f, 0.0f);
movementInfo.t_time = 0;
movementInfo.t_seat = -1;
movementInfo.ClearTransport();
}
}
}