summaryrefslogtreecommitdiff
path: root/src/client/clientobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/clientobject.h')
-rw-r--r--src/client/clientobject.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/clientobject.h b/src/client/clientobject.h
index c673fff9a..12e0db35b 100644
--- a/src/client/clientobject.h
+++ b/src/client/clientobject.h
@@ -49,8 +49,10 @@ public:
virtual bool getSelectionBox(aabb3f *toset) const { return false; }
virtual bool collideWithObjects() const { return false; }
virtual const v3f getPosition() const { return v3f(0.0f); }
- virtual scene::ISceneNode *getSceneNode() { return NULL; }
- virtual scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() { return NULL; }
+ virtual scene::ISceneNode *getSceneNode() const
+ { return NULL; }
+ virtual scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const
+ { return NULL; }
virtual bool isLocalPlayer() const { return false; }
virtual ClientActiveObject *getParent() const { return nullptr; };