Fixed two small errors

This commit is contained in:
Richard Allen 2002-06-10 03:26:04 +00:00
parent fbe1255de8
commit cd6b03a98c
2 changed files with 9 additions and 3 deletions

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.123 2002/06/10 03:26:04 jbravo
// Fixed two small errors
//
// Revision 1.122 2002/06/09 18:58:00 makro // Revision 1.122 2002/06/09 18:58:00 makro
// no message // no message
// //
@ -1075,7 +1078,7 @@ void Cmd_Team_f (gentity_t *ent) {
char s[MAX_TOKEN_CHARS]; char s[MAX_TOKEN_CHARS];
//Makro - moved here //Makro - moved here
if (g_gametype == GT_TEAMPLAY) { if (g_gametype.integer == GT_TEAMPLAY) {
oldTeam = ent->client->sess.savedTeam; oldTeam = ent->client->sess.savedTeam;
} else { } else {
oldTeam = ent->client->sess.sessionTeam; oldTeam = ent->client->sess.sessionTeam;

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.68 2002/06/10 03:26:04 jbravo
// Fixed two small errors
//
// Revision 1.67 2002/06/09 23:18:49 assimon // Revision 1.67 2002/06/09 23:18:49 assimon
// Add coments to the init parser. Added Message before intermition telling next map. New cvar: g_RQ3_NextMap // Add coments to the init parser. Added Message before intermition telling next map. New cvar: g_RQ3_NextMap
// //
@ -1404,7 +1407,7 @@ void BeginIntermission( void ) {
return; // already active return; // already active
} }
trap_SendServerCommand( -1, va("print \"Next map in rotation is %s\"", g_RQ3_NextMap.string) ); trap_SendServerCommand( -1, va("print \"Next map in rotation is %s\n\"", g_RQ3_NextMap.string) );
// if in tournement mode, change the wins / losses // if in tournement mode, change the wins / losses
if ( g_gametype.integer == GT_TOURNAMENT ) { if ( g_gametype.integer == GT_TOURNAMENT ) {
@ -2856,4 +2859,4 @@ void RQ3_SkipLineComment( char *buf, int *cur_pos ){
while ((*(buf + *cur_pos) != '\n')) while ((*(buf + *cur_pos) != '\n'))
(*cur_pos)++; (*cur_pos)++;
} }