aboutsummaryrefslogtreecommitdiff
path: root/src/clientenvironment.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-06-20 00:04:18 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-06-20 00:04:18 +0200
commitb32f36bf34c9a3208b2c0261e0f541453b4459b6 (patch)
tree566f3239448e43924207b8839eac1892fb824c2c /src/clientenvironment.h
parent4a5e8ad343079f6552fab639770e5771ed7c4e7a (diff)
downloadminetest-b32f36bf34c9a3208b2c0261e0f541453b4459b6.tar.gz
minetest-b32f36bf34c9a3208b2c0261e0f541453b4459b6.tar.bz2
minetest-b32f36bf34c9a3208b2c0261e0f541453b4459b6.zip
Fix 2 warnings reported by GCC
* ClientEnvironment::m_irr is not used anymore since a recent cleanup * l_vmanip constructor ordering
Diffstat (limited to 'src/clientenvironment.h')
-rw-r--r--src/clientenvironment.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/clientenvironment.h b/src/clientenvironment.h
index c8b192ee9..9d893766b 100644
--- a/src/clientenvironment.h
+++ b/src/clientenvironment.h
@@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef CLIENT_ENVIRONMENT_HEADER
#define CLIENT_ENVIRONMENT_HEADER
-#include <IrrlichtDevice.h>
#include <ISceneManager.h>
#include "environment.h"
#include "clientobject.h"
@@ -69,8 +68,7 @@ class ClientEnvironment : public Environment
{
public:
ClientEnvironment(ClientMap *map, scene::ISceneManager *smgr,
- ITextureSource *texturesource, Client *client,
- IrrlichtDevice *device);
+ ITextureSource *texturesource, Client *client);
~ClientEnvironment();
Map & getMap();
@@ -181,7 +179,6 @@ private:
ITextureSource *m_texturesource;
Client *m_client;
ClientScripting *m_script = nullptr;
- IrrlichtDevice *m_irr;
ClientActiveObjectMap m_active_objects;
std::vector<ClientSimpleObject*> m_simple_objects;
std::queue<ClientEnvEvent> m_client_event_queue;