Core/Transports: replace getMSTime with GetGameTimeMS

This commit is contained in:
Ovahlord committed 2019-05-27 15:46:22 +02:00
1 parent 1323ae116c
commit 29b952c797
2 files changed
+11 -10

No files matched your search

+3 -3
View File
@@ -640,10 +640,10 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
{
if (GameObject const* go = ToGameObject())
{
if (go->ToTransport())
*data << uint32(go->ToTransport()->GetPathProgress());
if (Transport const* transport = go->ToTransport())
*data << uint32(transport->GetPathProgress());
else
*data << uint32(getMSTime());
*data << uint32(GameTime::GetGameTimeMS());
}
}
}