From 9543b849703ba2e8edc0bd4696ccfb9e7888c293 Mon Sep 17 00:00:00 2001 From: Pedro Gimeno Date: Fri, 9 Aug 2019 14:21:17 +0530 Subject: Fix rotation of attached particlespawner Co-authored-by: ANAND --- src/client/clientobject.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client/clientobject.h') diff --git a/src/client/clientobject.h b/src/client/clientobject.h index 987005730..05c235ace 100644 --- a/src/client/clientobject.h +++ b/src/client/clientobject.h @@ -48,8 +48,7 @@ public: 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; } + virtual const v3f getPosition() const { return v3f(0.0f); } virtual scene::ISceneNode *getSceneNode() { return NULL; } virtual scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() { return NULL; } virtual bool isLocalPlayer() const {return false;} -- cgit v1.2.3