summaryrefslogtreecommitdiff
path: root/src/SSVOpenHexagon/Core/HGUpdate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SSVOpenHexagon/Core/HGUpdate.cpp')
-rwxr-xr-xsrc/SSVOpenHexagon/Core/HGUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SSVOpenHexagon/Core/HGUpdate.cpp b/src/SSVOpenHexagon/Core/HGUpdate.cpp
index 1c0c8723..f1deca3b 100755
--- a/src/SSVOpenHexagon/Core/HGUpdate.cpp
+++ b/src/SSVOpenHexagon/Core/HGUpdate.cpp
@@ -130,7 +130,7 @@ namespace hg
}
void HexagonGame::updateRotation(float mFrameTime)
{
- auto nextRotation = abs(getRotationSpeed()) * 10 * mFrameTime;
+ auto nextRotation = abs(getRotationSpeed()) * 10.f * mFrameTime;
if(status.fastSpin > 0)
{
nextRotation += abs((getSmootherStep(0, levelData.getValueFloat("fast_spin"), status.fastSpin) / 3.5f) * mFrameTime * 17.0f);