diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-09-17 17:40:34 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-09-17 17:40:34 +0100 |
commit | 27bbf79c89fb8c737b88d769b2056304aef69dc3 (patch) | |
tree | 838b7d39d7022d6bfc97dcf0cfae8bf1a3651bb2 /indra/newview/llviewerobject.cpp | |
parent | 285720fc771266d0ff0a775dbd294a4416e228cc (diff) | |
parent | 5215bf9925f1cecb64b04ab8ab226b63be65227c (diff) |
merge.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 25cc24da95..741a9e6ec4 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -1844,7 +1844,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, if (cdp) { F32 ping_delay = 0.5f * mTimeDilation * ( ((F32)cdp->getPingDelay()) * 0.001f + gFrameDTClamped); - LLVector3 diff = getVelocity() * (0.5f*mTimeDilation*(gFrameDTClamped + ((F32)ping_delay)*0.001f)); + LLVector3 diff = getVelocity() * ping_delay; new_pos_parent += diff; } else |