Core/Transports: replace getMSTime with GetGameTimeMS
This commit is contained in:
1 parent
1323ae116c
commit
29b952c797
2 files changed
+11
-10
No files matched your search
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user