From 00cf3bef53eeee29b9120c4b0f31a971882f4dc0 Mon Sep 17 00:00:00 2001 From: Garey Akhmetshin Date: Mon, 15 Feb 2021 17:59:03 +0500 Subject: [PATCH] Remove unneeded HLTV_FIXES defines. --- rehlds/HLTV/Core/src/Server.h | 2 -- rehlds/HLTV/Proxy/src/Proxy.h | 4 ---- rehlds/public/HLTV/IServer.h | 2 -- 3 files changed, 8 deletions(-) diff --git a/rehlds/HLTV/Core/src/Server.h b/rehlds/HLTV/Core/src/Server.h index bc1961c..c0de805 100644 --- a/rehlds/HLTV/Core/src/Server.h +++ b/rehlds/HLTV/Core/src/Server.h @@ -123,9 +123,7 @@ public: EXT_FUNC char *GetHostName(); EXT_FUNC float GetPacketLoss(); EXT_FUNC int GetProtocol(); -#ifdef HLTV_FIXES EXT_FUNC void SetWorld(IWorld* world); -#endif private: public: diff --git a/rehlds/HLTV/Proxy/src/Proxy.h b/rehlds/HLTV/Proxy/src/Proxy.h index da6d424..a6e901f 100644 --- a/rehlds/HLTV/Proxy/src/Proxy.h +++ b/rehlds/HLTV/Proxy/src/Proxy.h @@ -288,9 +288,7 @@ private: void CMD_Protocol(char *cmdLine); void CMD_Region(char *cmdLine); void CMD_ChatDelay(char *cmdLine); -#ifdef HLTV_FIXES void AddNextWorld(); -#endif struct LocalCommandID_s { char *name; LocalCommandIDs id; @@ -390,7 +388,5 @@ protected: BitBuffer m_InfoDetails; BitBuffer m_InfoInfo; BitBuffer m_InfoString; -#ifdef HLTV_FIXES ObjectList m_Worlds; -#endif }; diff --git a/rehlds/public/HLTV/IServer.h b/rehlds/public/HLTV/IServer.h index 9bed6a0..f0adf9e 100644 --- a/rehlds/public/HLTV/IServer.h +++ b/rehlds/public/HLTV/IServer.h @@ -96,9 +96,7 @@ public: virtual bool GetAutoRetry() = 0; virtual float GetPacketLoss() = 0; virtual int GetProtocol() = 0; -#ifdef HLTV_FIXES virtual void SetWorld(IWorld* world) = 0; -#endif }; #define SERVER_INTERFACE_VERSION "server001"