diff options
author | Pedro Gimeno <pgimeno@users.noreply.notabug.org> | 2019-08-09 14:21:17 +0530 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2019-08-31 19:05:53 +0200 |
commit | 9543b849703ba2e8edc0bd4696ccfb9e7888c293 (patch) | |
tree | 4a56afe90fde5288c13677932a238ec847f7d9f5 /src/client/clientobject.h | |
parent | 049256573b6fc379ab4cd1f867f33504de6abeee (diff) | |
download | minetest-9543b849703ba2e8edc0bd4696ccfb9e7888c293.tar.gz minetest-9543b849703ba2e8edc0bd4696ccfb9e7888c293.tar.bz2 minetest-9543b849703ba2e8edc0bd4696ccfb9e7888c293.zip |
Fix rotation of attached particlespawner
Co-authored-by: ANAND <ClobberXD@gmail.com>
Diffstat (limited to 'src/client/clientobject.h')
-rw-r--r-- | src/client/clientobject.h | 3 |
1 files changed, 1 insertions, 2 deletions
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;} |