Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarProjectile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarProjectile.cpp')
-rw-r--r--source/game/StarProjectile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarProjectile.cpp b/source/game/StarProjectile.cpp
index 57d8ca8..116fd08 100644
--- a/source/game/StarProjectile.cpp
+++ b/source/game/StarProjectile.cpp
@@ -336,7 +336,7 @@ void Projectile::update(float dt, uint64_t) {
}
}
} else {
- m_netGroup.tickNetInterpolation(GlobalTimestep);
+ m_netGroup.tickNetInterpolation(dt);
m_movementController->tickSlave(dt);
m_travelLine.min() = m_travelLine.max();
m_travelLine.max() = m_movementController->position();