mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix 2 warnings reported by GCC
* ClientEnvironment::m_irr is not used anymore since a recent cleanup * l_vmanip constructor ordering
This commit is contained in:
parent
4a5e8ad343
commit
b32f36bf34
4 changed files with 7 additions and 10 deletions
|
@ -37,14 +37,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
*/
|
||||
|
||||
ClientEnvironment::ClientEnvironment(ClientMap *map, scene::ISceneManager *smgr,
|
||||
ITextureSource *texturesource, Client *client,
|
||||
IrrlichtDevice *irr):
|
||||
ITextureSource *texturesource, Client *client):
|
||||
Environment(client),
|
||||
m_map(map),
|
||||
m_smgr(smgr),
|
||||
m_texturesource(texturesource),
|
||||
m_client(client),
|
||||
m_irr(irr)
|
||||
m_client(client)
|
||||
{
|
||||
char zero = 0;
|
||||
memset(attachement_parent_ids, zero, sizeof(attachement_parent_ids));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue