]> git.localhorst.tv Git - blobs.git/blobdiff - src/creature/Situation.hpp
overhaul need system
[blobs.git] / src / creature / Situation.hpp
index c94d2d5c615bdb60a40349160899d87a0e494397..4205cff449c8e0f1d57cdaedd39c56662c62ddd2 100644 (file)
@@ -64,7 +64,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.00000001; }
+       bool Moving() const noexcept { return glm::length2(state.vel) > 0.0000001; }
        void Move(const glm::dvec3 &dp) noexcept;
 
        void Heading(const glm::dvec3 &h) noexcept { state.dir = h; }