Timing.Alpha isn't updated if accumulator < step, using interpolated positions to draw lightsources & ragdoll/ai debug info (-> no twitching when the sub is moving)

This commit is contained in:
Regalis
2016-10-11 16:34:59 +03:00
parent 636b25d725
commit 7e20d7a17a
4 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ namespace Barotrauma
{
Timing.Accumulator += gameTime.ElapsedGameTime.TotalSeconds;
bool paused = false;
bool paused = true;
while (Timing.Accumulator >= Timing.Step)
{