From c81722f9e3c5fbde98eb4bdb81179dc1324fa71a Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 15 Dec 2012 16:24:00 +0100 Subject: [PATCH] removed some unused stuff --- src/engine/client.h | 1 - src/engine/client/client.cpp | 5 ----- src/engine/client/client.h | 1 - 3 files changed, 7 deletions(-) diff --git a/src/engine/client.h b/src/engine/client.h index 1888d341d..41f17fb02 100644 --- a/src/engine/client.h +++ b/src/engine/client.h @@ -91,7 +91,6 @@ public: // networking virtual void EnterGame() = 0; - virtual bool MapLoaded() = 0; // virtual int MapDownloadAmount() = 0; virtual int MapDownloadTotalsize() = 0; diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index f4e419ea4..6fb43a2d7 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -769,11 +769,6 @@ void CClient::Render() DebugRender(); } -bool CClient::MapLoaded() -{ - return m_pMap->IsLoaded(); -} - const char *CClient::LoadMap(const char *pName, const char *pFilename, unsigned WantedCrc) { static char aErrorMsg[128]; diff --git a/src/engine/client/client.h b/src/engine/client/client.h index 36f4335c3..8a6ecff01 100644 --- a/src/engine/client/client.h +++ b/src/engine/client/client.h @@ -256,7 +256,6 @@ public: virtual const char *ErrorString(); - bool MapLoaded(); const char *LoadMap(const char *pName, const char *pFilename, unsigned WantedCrc); const char *LoadMapSearch(const char *pMapName, int WantedCrc);