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.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/game/g_session.c b/src/game/g_session.c
index 0ac65709..7f44d5b0 100644
--- a/src/game/g_session.c
+++ b/src/game/g_session.c
@@ -34,11 +34,12 @@ G_WriteClientSessionData
Called on game shutdown
================
*/
-void G_WriteClientSessionData( gclient_t *client ) {
+void G_WriteClientSessionData( gclient_t *client )
+{
const char *s;
const char *var;
- s = va("%i %i %i %i %i %i %i",
+ s = va( "%i %i %i %i %i %i %i",
client->sess.sessionTeam,
client->sess.spectatorTime,
client->sess.spectatorState,
@@ -60,8 +61,9 @@ G_ReadSessionData
Called on a reconnect
================
*/
-void G_ReadSessionData( gclient_t *client ) {
- char s[MAX_STRING_CHARS];
+void G_ReadSessionData( gclient_t *client )
+{
+ char s[ MAX_STRING_CHARS ];
const char *var;
// bk001205 - format
@@ -96,9 +98,10 @@ G_InitSessionData
Called on a first-time connect
================
*/
-void G_InitSessionData( gclient_t *client, char *userinfo ) {
+void G_InitSessionData( gclient_t *client, char *userinfo )
+{
clientSession_t *sess;
- const char *value;
+ const char *value;
sess = &client->sess;
@@ -131,7 +134,8 @@ G_WriteSessionData
==================
*/
-void G_WriteSessionData( void ) {
+void G_WriteSessionData( void )
+{
int i;
//TA: ?