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

summaryrefslogtreecommitdiff
path: root/source/game/StarProjectile.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-08-15 13:38:40 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-08-15 13:38:40 +1000
commitaf74a2f4918e39cd3a157350b9c8e00397c94ff8 (patch)
treedd78affb139f6d154bb874ed0c274a0a43d0d8ab /source/game/StarProjectile.cpp
parent3bc2034c15ee23f78eb20a7b7a839b3300290186 (diff)
Rename global WorldTimestep var to more appropriate name
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 234c053..7355135 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(WorldTimestep);
+ m_netGroup.tickNetInterpolation(GlobalTimestep);
m_movementController->tickSlave(dt);
m_travelLine.min() = m_travelLine.max();
m_travelLine.max() = m_movementController->position();