From 8f2e60a9619f3db2dea752626e778f753c0714bc Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Mon, 19 Jun 2017 00:00:55 +0200 Subject: Client::makeScreenshot: remove device param We already have the device param as class member --- src/client.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 7bfa26c0d..ab47cfa44 100644 --- a/src/client.h +++ b/src/client.h @@ -507,7 +507,7 @@ public: LocalClientState getState() { return m_state; } - void makeScreenshot(IrrlichtDevice *device); + void makeScreenshot(); inline void pushToChatQueue(const std::wstring &input) { @@ -529,8 +529,6 @@ public: void showGameFog(const bool show = true); void showGameDebug(const bool show = true); - IrrlichtDevice *getDevice() const { return m_device; } - const Address getServerAddress() { return m_con.GetPeerAddress(PEER_ID_SERVER); -- cgit v1.2.3