Core/Transports: fixed a typo that was causing client crashes uppon relogging outside of instances
This commit is contained in:
1 parent
4bad4757f1
commit
ba3084d1a4
1 file changed
+3
-3
@@ -644,9 +644,9 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
|
||||
if (GameObject const* go = ToGameObject())
|
||||
{
|
||||
if (MapTransport const* transport = go->ToMapTransport())
|
||||
* data << uint32(transport->GetPathProgress());
|
||||
if (Transport const* transport = go->ToTransport())
|
||||
* data << uint32(getMSTime() + transport->GetCurrentTransportTime());
|
||||
*data << uint32(transport->GetPathProgress());
|
||||
else if (Transport const* transport = go->ToTransport())
|
||||
*data << uint32(getMSTime() + transport->GetCurrentTransportTime());
|
||||
else
|
||||
*data << uint32(getMSTime());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user