summaryrefslogtreecommitdiff
path: root/src/clientobject.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-19 16:49:34 +0200
committerGitHub <noreply@github.com>2017-06-19 16:49:34 +0200
commit4a789490834157baa8788a2f36c95b86c1e4440e (patch)
tree4ca25d95c0c9d1a33ce09cef2e021b37ddb77975 /src/clientobject.h
parent6eb03c135f17f05d48dd13fe8957bfe0f9654b00 (diff)
downloadminetest-4a789490834157baa8788a2f36c95b86c1e4440e.tar.gz
minetest-4a789490834157baa8788a2f36c95b86c1e4440e.tar.bz2
minetest-4a789490834157baa8788a2f36c95b86c1e4440e.zip
Remove IrrlichtDevice unused pointer from ClientActiveObject class & childs (#6010)
Diffstat (limited to 'src/clientobject.h')
-rw-r--r--src/clientobject.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/clientobject.h b/src/clientobject.h
index a3eb3e242..d81e8e7e6 100644
--- a/src/clientobject.h
+++ b/src/clientobject.h
@@ -39,9 +39,8 @@ public:
ClientActiveObject(u16 id, Client *client, ClientEnvironment *env);
virtual ~ClientActiveObject();
- virtual void addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc,
- IrrlichtDevice *irr){}
- virtual void removeFromScene(bool permanent){}
+ virtual void addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc) {};
+ virtual void removeFromScene(bool permanent) {}
// 0 <= light_at_pos <= LIGHT_SUN
virtual void updateLight(u8 light_at_pos){}
virtual void updateLightNoCheck(u8 light_at_pos){}