From b32f36bf34c9a3208b2c0261e0f541453b4459b6 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Tue, 20 Jun 2017 00:04:18 +0200 Subject: Fix 2 warnings reported by GCC * ClientEnvironment::m_irr is not used anymore since a recent cleanup * l_vmanip constructor ordering --- src/clientenvironment.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/clientenvironment.h') 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 #include #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 m_simple_objects; std::queue m_client_event_queue; -- cgit v1.2.3