diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-11 16:31:20 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-11 16:31:20 +1100 |
commit | caf7abebfe784a94fbc0e6b51e49cfeab91bf96a (patch) | |
tree | 6945d36901e5aaaae0b39950b759550a0f256a89 /source/game/objects/StarPhysicsObject.cpp | |
parent | e6d2f5975bbe770b013dfe7ab470ac09fdffe6cf (diff) |
change tickNetInterpolation calls to use dt value
Diffstat (limited to 'source/game/objects/StarPhysicsObject.cpp')
-rw-r--r-- | source/game/objects/StarPhysicsObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/objects/StarPhysicsObject.cpp b/source/game/objects/StarPhysicsObject.cpp index 9da604d..bc9da82 100644 --- a/source/game/objects/StarPhysicsObject.cpp +++ b/source/game/objects/StarPhysicsObject.cpp @@ -79,7 +79,7 @@ void PhysicsObject::uninit() { void PhysicsObject::update(float dt, uint64_t currentStep) { Object::update(dt, currentStep); if (isSlave()) - m_netGroup.tickNetInterpolation(GlobalTimestep); + m_netGroup.tickNetInterpolation(dt); } RectF PhysicsObject::metaBoundBox() const { |