Core/Transports: solved all remaining visual issues for transports
This commit is contained in:
1 parent
846b5d1841
commit
c68e39d074
4 files changed
+33
-32
No files matched your search
@@ -2442,7 +2442,7 @@ void GameObject::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* t
|
||||
Transport const* transport = ToTransport();
|
||||
if (uint32 transportPeriod = transport->GetTransportPeriod())
|
||||
{
|
||||
float timer = float(transport->GetPathProgress() % transportPeriod);
|
||||
float timer = float(transport->GetTimer() % transportPeriod);
|
||||
pathProgress = int16(timer / float(transportPeriod) * 65535.0f);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user