aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-07-02 20:29:58 +0200
committerGitHub <noreply@github.com>2017-07-02 20:29:58 +0200
commit94c294bfdcfb7caa84c88649f3630605ed90e884 (patch)
tree94fdecef9a4f1204effb95e800f7c2cb39126a67 /src/content_cao.h
parent51104d9cd445da21adc731fb820bbb7d82b45d64 (diff)
downloadminetest-94c294bfdcfb7caa84c88649f3630605ed90e884.tar.gz
minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.tar.bz2
minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.zip
Irrlicht cleanup: cleanup various object to use RenderingEngine (#6088)
* Irrlicht cleanup: cleanup various object to use RenderingEngine * CAO doesn't need scenemanager in addToScene * Camera doesn't need VideoDriver pointer or SceneManager in constructor * Hud doesn't need driver & scene manager in constructor * Hud doesn't need scenemanager pointer * Tile.h doesn't need IrrlichtDevice header (just SMaterial) * WieldMeshSceneNode: only take scene, we always use scene root node as parent
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index 66d5ca3f9..526f10ea3 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -168,7 +168,7 @@ public:
void removeFromScene(bool permanent);
- void addToScene(scene::ISceneManager *smgr, ITextureSource *tsrc);
+ void addToScene(ITextureSource *tsrc);
inline void expireVisuals()
{