mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-28 15:45:46 +03:00
reset minor version
This commit is contained in:
parent
4090ff3db5
commit
b172d20227
@ -1,3 +1,3 @@
|
||||
majorVersion=3
|
||||
minorVersion=13
|
||||
minorVersion=0
|
||||
maintenanceVersion=0
|
||||
|
@ -42,10 +42,10 @@
|
||||
#define __BUILD_TIME__ "13:14:09"
|
||||
#define __BUILD_DATE__ "Aug 29 2013"
|
||||
#endif
|
||||
#else
|
||||
#else // REHLDS_FIXES
|
||||
#define __BUILD_TIME__ APP_COMMIT_TIME
|
||||
#define __BUILD_DATE__ APP_COMMIT_DATE
|
||||
#endif
|
||||
#endif // REHLDS_FIXES
|
||||
|
||||
#ifdef HOOK_ENGINE
|
||||
#define serverinfo (*pserverinfo)
|
||||
|
@ -2436,7 +2436,7 @@ void Host_Version_f(void)
|
||||
#ifdef REHLDS_FIXES
|
||||
Con_Printf("ReHLDS version: " APP_VERSION "\n");
|
||||
Con_Printf("Build date: " __BUILD_TIME__ " " __BUILD_DATE__ " (%i)\n", build_number());
|
||||
Con_Printf("Build from: "APP_COMMIT_URL APP_COMMIT_SHA"\n");
|
||||
Con_Printf("Build from: " APP_COMMIT_URL APP_COMMIT_SHA "\n");
|
||||
#else
|
||||
Con_Printf("Exe build: " __BUILD_TIME__ " " __BUILD_DATE__ " (%i)\n", build_number());
|
||||
#endif
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "model.h"
|
||||
|
||||
#define REHLDS_API_VERSION_MAJOR 3
|
||||
#define REHLDS_API_VERSION_MINOR 13
|
||||
#define REHLDS_API_VERSION_MINOR 0
|
||||
|
||||
//Steam_NotifyClientConnect hook
|
||||
typedef IHookChain<qboolean, IGameClient*, const void*, unsigned int> IRehldsHook_Steam_NotifyClientConnect;
|
||||
|
@ -58,9 +58,9 @@ void AbstractHookChainRegistry::removeHook(void* hookFunc) {
|
||||
// erase hook
|
||||
for (int i = 0; i < m_NumHooks; i++)
|
||||
{
|
||||
--m_NumHooks;
|
||||
if (hookFunc == m_Hooks[i])
|
||||
{
|
||||
--m_NumHooks;
|
||||
if (m_NumHooks != i)
|
||||
{
|
||||
Q_memmove(&m_Hooks[i], &m_Hooks[i + 1], (m_NumHooks - i) * sizeof(m_Hooks[0]));
|
||||
|
Loading…
Reference in New Issue
Block a user