From cd3f69e66b83931c2c34841099784fb0e91d7dad Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Thu, 21 Nov 2024 13:57:02 +0300 Subject: [PATCH] Update comments. --- inc/shared/game.h | 4 ++-- src/server/server.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/shared/game.h b/inc/shared/game.h index 3c18090de..8f65205a5 100644 --- a/inc/shared/game.h +++ b/inc/shared/game.h @@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc., // game.h -- game dll information visible to server // -#define GAME_API_VERSION_OLD 3 // game uses gclient_old_t -#define GAME_API_VERSION_NEW 3302 // game uses gclient_new_t +#define GAME_API_VERSION_OLD 3 // game uses gclient_old_t, pmove_old_t +#define GAME_API_VERSION_NEW 3302 // game uses gclient_new_t, pmove_new_t #if USE_NEW_GAME_API #define GAME_API_VERSION GAME_API_VERSION_NEW diff --git a/src/server/server.h b/src/server/server.h index 819c420fb..0520560ac 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -93,7 +93,7 @@ with this program; if not, write to the Free Software Foundation, Inc., GMF_IPV6_ADDRESS_AWARE | GMF_ALLOW_INDEX_OVERFLOW | \ GMF_PROTOCOL_EXTENSIONS) -// flag indicating if game uses gclient_new_t or gclient_old_t. +// flag indicating if game uses new versions of gclient_t and pmove_t. // doesn't enable protocol extensions by itself. #define IS_NEW_GAME_API (ge->apiversion == GAME_API_VERSION_NEW)