mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 15:52:30 +00:00
Fix for autojoin and a very minir for for Obits
This commit is contained in:
parent
b864ac356a
commit
d4ea8e455e
2 changed files with 12 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.71 2002/05/11 15:00:04 jbravo
|
||||||
|
// Fix for autojoin and a very minir for for Obits
|
||||||
|
//
|
||||||
// Revision 1.70 2002/05/10 08:10:18 jbravo
|
// Revision 1.70 2002/05/10 08:10:18 jbravo
|
||||||
// Fixed a bug in the Obit system and a give (weapons or all) bug
|
// Fixed a bug in the Obit system and a give (weapons or all) bug
|
||||||
//
|
//
|
||||||
|
@ -939,6 +942,7 @@ void PrintDeathMessage (gentity_t *target, gentity_t *attacker, int location, in
|
||||||
default:
|
default:
|
||||||
Q_strncpyz (message, " was sniped by", sizeof(message));
|
Q_strncpyz (message, " was sniped by", sizeof(message));
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case MOD_AKIMBO:
|
case MOD_AKIMBO:
|
||||||
switch (location) {
|
switch (location) {
|
||||||
case LOC_HDAM:
|
case LOC_HDAM:
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.15 2002/05/11 15:00:04 jbravo
|
||||||
|
// Fix for autojoin and a very minir for for Obits
|
||||||
|
//
|
||||||
// Revision 1.14 2002/05/05 15:51:16 slicer
|
// Revision 1.14 2002/05/05 15:51:16 slicer
|
||||||
// Captain and subs get saved on map_restarts ( moved to "sess" )
|
// Captain and subs get saved on map_restarts ( moved to "sess" )
|
||||||
//
|
//
|
||||||
|
@ -174,7 +177,11 @@ void G_InitSessionData( gclient_t *client, char *userinfo ) {
|
||||||
// initial team determination
|
// initial team determination
|
||||||
if ( g_gametype.integer >= GT_TEAM ) {
|
if ( g_gametype.integer >= GT_TEAM ) {
|
||||||
if ( g_teamAutoJoin.integer ) {
|
if ( g_teamAutoJoin.integer ) {
|
||||||
sess->sessionTeam = PickTeam( -1 );
|
if (g_gametype.integer == GT_TEAMPLAY) {
|
||||||
|
sess->savedTeam = PickTeam( -1 );
|
||||||
|
client->ps.persistant[PERS_SAVEDTEAM] = sess->savedTeam;
|
||||||
|
} else
|
||||||
|
sess->sessionTeam = PickTeam( -1 );
|
||||||
BroadcastTeamChange( client, -1 );
|
BroadcastTeamChange( client, -1 );
|
||||||
} else {
|
} else {
|
||||||
// always spawn as spectator in team games
|
// always spawn as spectator in team games
|
||||||
|
|
Loading…
Reference in a new issue