X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcreature%2FSituation.hpp;h=fb26650d3137782c3bbdd83308d86a8f0138e624;hb=d921cba26f21e4a75b22f5e9d9be988707bf6a8f;hp=561f106c78b848ce3f4ca6c79a7b44c81c747e99;hpb=75398ab9230c15215e7a378a26d2d55de67b47f0;p=blobs.git 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;