Add cancel button to password change menu. (#5720)
[oweals/minetest.git] / src / clientobject.h
index f0bde0adc438980fb2d21f296c51a5bbe6be5895..1db5bcf24b7f5c26246cb0fec6e591267adf028c 100644 (file)
@@ -47,8 +47,8 @@ public:
        virtual void updateLightNoCheck(u8 light_at_pos){}
        virtual v3s16 getLightPosition(){return v3s16(0,0,0);}
        virtual aabb3f *getSelectionBox() { return NULL; }
-       virtual bool getCollisionBox(aabb3f *toset){return false;}
-       virtual bool collideWithObjects(){return false;}
+       virtual bool getCollisionBox(aabb3f *toset) const { return false; }
+       virtual bool collideWithObjects() const { return false; }
        virtual v3f getPosition(){return v3f(0,0,0);}
        virtual float getYaw() const {return 0;}
        virtual scene::ISceneNode *getSceneNode(){return NULL;}