Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / content_cao.h
index 526f10ea3b2f1274436f1f3fb4fc63b046663486..d6d5deac8fe5884599d8062d8409306210324f8c 100644 (file)
@@ -129,13 +129,13 @@ public:
 
        void processInitData(const std::string &data);
 
-       ClientActiveObject *getParent();
+       ClientActiveObject *getParent() const;
 
        bool getCollisionBox(aabb3f *toset) const;
 
        bool collideWithObjects() const;
 
-       aabb3f *getSelectionBox();
+       virtual bool getSelectionBox(aabb3f *toset) const;
 
        v3f getPosition();
        inline float getYaw() const