Skip to content

Commit

Permalink
Update comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet committed Nov 21, 2024
1 parent 40ec20d commit cd3f69e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/shared/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/server/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cd3f69e

Please sign in to comment.