X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FSituation.hpp;h=fb26650d3137782c3bbdd83308d86a8f0138e624;hp=561f106c78b848ce3f4ca6c79a7b44c81c747e99;hb=237297d676d6841a35d320cc910a2d42aa9c13ef;hpb=75398ab9230c15215e7a378a26d2d55de67b47f0 diff --git a/src/creature/Situation.hpp b/src/creature/Situation.hpp index 561f106..fb26650 100644 --- a/src/creature/Situation.hpp +++ b/src/creature/Situation.hpp @@ -61,7 +61,7 @@ public: const State &GetState() const noexcept { return state; } const glm::dvec3 &Velocity() const noexcept { return state.vel; } - bool Moving() const noexcept { return glm::length2(state.vel) > 0.000001; } + bool Moving() const noexcept { return glm::length2(state.vel) > 0.00001; } void Move(const glm::dvec3 &dp) noexcept; void Accelerate(const glm::dvec3 &dv) noexcept; void EnforceConstraints(State &) noexcept;