From 118e2ae865bd7a0020586ef72d05bf14d66f4eae Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Tue, 15 Apr 2014 19:49:32 +0200 Subject: Fix all warnings reported by clang --- src/clientobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clientobject.h') diff --git a/src/clientobject.h b/src/clientobject.h index 613c635a2..233617b5c 100644 --- a/src/clientobject.h +++ b/src/clientobject.h @@ -55,7 +55,7 @@ public: virtual void updateLight(u8 light_at_pos){} virtual v3s16 getLightPosition(){return v3s16(0,0,0);} virtual core::aabbox3d* getSelectionBox(){return NULL;} - virtual core::aabbox3d* getCollisionBox(){return NULL;} + virtual bool getCollisionBox(aabb3f *toset){return false;} virtual bool collideWithObjects(){return false;} virtual v3f getPosition(){return v3f(0,0,0);} virtual scene::IMeshSceneNode *getMeshSceneNode(){return NULL;} -- cgit v1.2.3