summaryrefslogtreecommitdiff
path: root/src/game/g_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_session.c')
-rw-r--r--src/game/g_session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/g_session.c b/src/game/g_session.c
index 847013a..600257c 100644
--- a/src/game/g_session.c
+++ b/src/game/g_session.c
@@ -55,11 +55,11 @@ void G_WriteClientSessionData( gclient_t *client )
client->sess.spectatorState,
client->sess.spectatorClient,
client->sess.restartTeam,
- client->sess.seenWelcome,
+ client->sess.seenWelcome,
Com_ClientListString( &client->sess.ignoreList )
- );
+ );
- var = va( "session%i", client - level.clients );
+ var = va( "session%i", (int)(client - level.clients) );
trap_Cvar_Set( var, s );
}
@@ -79,7 +79,7 @@ void G_ReadSessionData( gclient_t *client )
int restartTeam;
char ignorelist[ 17 ];
- var = va( "session%i", client - level.clients );
+ var = va( "session%i", (int)(client - level.clients) );
trap_Cvar_VariableStringBuffer( var, s, sizeof(s) );
sscanf( s, "%i %i %i %i %i %16s",