mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-23 20:52:16 +00:00
Tweaked my zcam swing change a bit.
This commit is contained in:
parent
216583c5b1
commit
eec6021479
1 changed files with 13 additions and 2 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.17 2002/08/03 18:24:13 jbravo
|
||||
// Tweaked my zcam swing change a bit.
|
||||
//
|
||||
// Revision 1.16 2002/08/03 07:49:49 jbravo
|
||||
// Added a line to the zcam swing tracking message indicating who you are following
|
||||
//
|
||||
|
@ -704,7 +707,15 @@ static gentity_t *CameraSwingTarget(gentity_t * ent)
|
|||
|
||||
// JBravo: take teamnames into account
|
||||
// JBravo: added who you are following to the zcam swing output.
|
||||
if (target2nd->client->sess.sessionTeam == TEAM_RED)
|
||||
trap_SendServerCommand(ent->client->ps.clientNum,
|
||||
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sFollowing " S_COLOR_WHITE "%s" S_COLOR_RED "/"
|
||||
S_COLOR_MAGENTA "%s\n%sTracking " S_COLOR_WHITE "%s" S_COLOR_RED "/"
|
||||
S_COLOR_MAGENTA "%s\n", color, target1st->client->pers.netname,
|
||||
(target1st->client->sess.sessionTeam = TEAM_RED) ? g_RQ3_team1name.string : g_RQ3_team2name.string,
|
||||
color, target2nd->client->pers.netname,
|
||||
(target2nd->client->sess.sessionTeam = TEAM_RED) ? g_RQ3_team1name.string : g_RQ3_team2name.string));
|
||||
|
||||
/* if (target2nd->client->sess.sessionTeam == TEAM_RED)
|
||||
trap_SendServerCommand(ent->client->ps.clientNum,
|
||||
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sTracking " S_COLOR_WHITE "%s"
|
||||
S_COLOR_RED "/" S_COLOR_MAGENTA "%s\n%sFollowing " S_COLOR_WHITE "%s", color,
|
||||
|
@ -713,7 +724,7 @@ static gentity_t *CameraSwingTarget(gentity_t * ent)
|
|||
trap_SendServerCommand(ent->client->ps.clientNum,
|
||||
va("cp \"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n%sTracking " S_COLOR_WHITE "%s"
|
||||
S_COLOR_RED "/" S_COLOR_MAGENTA "%s\n%sFollowing " S_COLOR_WHITE "%s", color,
|
||||
target2nd->client->pers.netname, g_RQ3_team2name.string, color, target1st->client->pers.netname));
|
||||
target2nd->client->pers.netname, g_RQ3_team2name.string, color, target1st->client->pers.netname)); */
|
||||
}
|
||||
|
||||
return target2nd;
|
||||
|
|
Loading…
Reference in a new issue