mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix a m_camera not used warning fix pointed by clang
This commit is contained in:
parent
ce42ff9cf7
commit
f64a6259b2
2 changed files with 2 additions and 4 deletions
|
@ -546,7 +546,6 @@ GenericCAO::GenericCAO(IGameDef *gamedef, ClientEnvironment *env):
|
|||
//
|
||||
m_smgr(NULL),
|
||||
m_irr(NULL),
|
||||
m_camera(NULL),
|
||||
m_gamedef(NULL),
|
||||
m_selection_box(-BS/3.,-BS/3.,-BS/3., BS/3.,BS/3.,BS/3.),
|
||||
m_meshnode(NULL),
|
||||
|
@ -804,7 +803,7 @@ void GenericCAO::removeFromScene(bool permanent)
|
|||
}
|
||||
}
|
||||
|
||||
void GenericCAO::addToScene(scene::ISceneManager *smgr,
|
||||
void GenericCAO::addToScene(scene::ISceneManager *smgr,
|
||||
ITextureSource *tsrc, IrrlichtDevice *irr)
|
||||
{
|
||||
m_smgr = smgr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue