2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-14 23:58:10 +03:00

Remove unneeded HLTV_FIXES defines.

This commit is contained in:
Garey Akhmetshin 2021-02-15 17:59:03 +05:00
parent da9a5b05ab
commit 00cf3bef53
3 changed files with 0 additions and 8 deletions

View File

@ -123,9 +123,7 @@ public:
EXT_FUNC char *GetHostName(); EXT_FUNC char *GetHostName();
EXT_FUNC float GetPacketLoss(); EXT_FUNC float GetPacketLoss();
EXT_FUNC int GetProtocol(); EXT_FUNC int GetProtocol();
#ifdef HLTV_FIXES
EXT_FUNC void SetWorld(IWorld* world); EXT_FUNC void SetWorld(IWorld* world);
#endif
private: private:
public: public:

View File

@ -288,9 +288,7 @@ private:
void CMD_Protocol(char *cmdLine); void CMD_Protocol(char *cmdLine);
void CMD_Region(char *cmdLine); void CMD_Region(char *cmdLine);
void CMD_ChatDelay(char *cmdLine); void CMD_ChatDelay(char *cmdLine);
#ifdef HLTV_FIXES
void AddNextWorld(); void AddNextWorld();
#endif
struct LocalCommandID_s { struct LocalCommandID_s {
char *name; char *name;
LocalCommandIDs id; LocalCommandIDs id;
@ -390,7 +388,5 @@ protected:
BitBuffer m_InfoDetails; BitBuffer m_InfoDetails;
BitBuffer m_InfoInfo; BitBuffer m_InfoInfo;
BitBuffer m_InfoString; BitBuffer m_InfoString;
#ifdef HLTV_FIXES
ObjectList m_Worlds; ObjectList m_Worlds;
#endif
}; };

View File

@ -96,9 +96,7 @@ public:
virtual bool GetAutoRetry() = 0; virtual bool GetAutoRetry() = 0;
virtual float GetPacketLoss() = 0; virtual float GetPacketLoss() = 0;
virtual int GetProtocol() = 0; virtual int GetProtocol() = 0;
#ifdef HLTV_FIXES
virtual void SetWorld(IWorld* world) = 0; virtual void SetWorld(IWorld* world) = 0;
#endif
}; };
#define SERVER_INTERFACE_VERSION "server001" #define SERVER_INTERFACE_VERSION "server001"