Browse Source

fix typo (#2150)

pull/2152/head
qndel 5 years ago committed by GitHub
parent
commit
6931c438d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/engine/animationinfo.cpp

2
Source/engine/animationinfo.cpp

@ -25,7 +25,7 @@ int AnimationInfo::GetFrameToUseForRendering() const
assert(TicksSinceSequenceStarted >= 0);
// we don't use the processed game ticks alone but also the fragtion of the next game tick (if a rendering happens between game ticks). This helps to smooth the animations.
// we don't use the processed game ticks alone but also the fraction of the next game tick (if a rendering happens between game ticks). This helps to smooth the animations.
float totalTicksForCurrentAnimationSequence = gfProgressToNextGameTick + (float)TicksSinceSequenceStarted;
// 1 added for rounding reasons. float to int cast always truncate.

Loading…
Cancel
Save