Modernize client code (#6250)
[oweals/minetest.git] / src / clientobject.h
index f8075d65a84a40ea206a9e05bc64b81f6cf287c2..eeed2516d1ed5b1fa86e385457d65538a7b2a9a7 100644 (file)
@@ -44,8 +44,8 @@ public:
        virtual void updateLight(u8 light_at_pos){}
        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) const { return false; }
+       virtual bool getSelectionBox(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; }