summaryrefslogtreecommitdiff
path: root/include/SSVOpenHexagon/Components/SpeedData.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/SSVOpenHexagon/Components/SpeedData.hpp')
-rw-r--r--include/SSVOpenHexagon/Components/SpeedData.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SSVOpenHexagon/Components/SpeedData.hpp b/include/SSVOpenHexagon/Components/SpeedData.hpp
index 3c49c60e..9a47aeec 100644
--- a/include/SSVOpenHexagon/Components/SpeedData.hpp
+++ b/include/SSVOpenHexagon/Components/SpeedData.hpp
@@ -27,7 +27,7 @@ struct SpeedData
void update(const ssvu::FT ft) noexcept
{
- if(_accel == 0)
+ if(_accel == 0.f)
{
return;
}