Skip to content

Commit

Permalink
GAME: missing const
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Nov 24, 2024
1 parent e0c1b17 commit af58508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/g_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ const char *ClientConnect(int clientNum, qboolean firstTime, qboolean isBot) {

// count spectators
for (i = 0; i < g_maxclients.integer; ++i) {
gclient_t *cl = level.clients + i;
const gclient_t *cl = level.clients + i;
if (cl->pers.connected == CON_DISCONNECTED) {
continue;
}
Expand Down

0 comments on commit af58508

Please sign in to comment.