mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-27 14:32:15 +00:00
Fixed two small errors
This commit is contained in:
parent
fbe1255de8
commit
cd6b03a98c
2 changed files with 9 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $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
|
||||
// no message
|
||||
//
|
||||
|
@ -1075,7 +1078,7 @@ void Cmd_Team_f (gentity_t *ent) {
|
|||
char s[MAX_TOKEN_CHARS];
|
||||
|
||||
//Makro - moved here
|
||||
if (g_gametype == GT_TEAMPLAY) {
|
||||
if (g_gametype.integer == GT_TEAMPLAY) {
|
||||
oldTeam = ent->client->sess.savedTeam;
|
||||
} else {
|
||||
oldTeam = ent->client->sess.sessionTeam;
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $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
|
||||
// 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
|
||||
}
|
||||
|
||||
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 ( g_gametype.integer == GT_TOURNAMENT ) {
|
||||
|
@ -2856,4 +2859,4 @@ void RQ3_SkipLineComment( char *buf, int *cur_pos ){
|
|||
|
||||
while ((*(buf + *cur_pos) != '\n'))
|
||||
(*cur_pos)++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue