mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-23 12:42:36 +00:00
Cleanups for colors and stopped bots looking for team leaders in TP
This commit is contained in:
parent
24ea9661ef
commit
02ef3cbf7f
3 changed files with 16 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.10 2002/06/22 00:19:57 jbravo
|
||||
// Cleanups for colors and stopped bots looking for team leaders in TP
|
||||
//
|
||||
// Revision 1.9 2002/06/16 20:06:13 jbravo
|
||||
// Reindented all the source files with "indent -kr -ut -i8 -l120 -lc120 -sob -bad -bap"
|
||||
//
|
||||
|
@ -1109,8 +1112,8 @@ void BotTeamAI(bot_state_t * bs)
|
|||
return;
|
||||
//make sure we've got a valid team leader
|
||||
if (!BotValidTeamLeader(bs)) {
|
||||
//
|
||||
if (!FindHumanTeamLeader(bs)) {
|
||||
// JBravo: try to stop that teamleader crap in TP
|
||||
if (!FindHumanTeamLeader(bs) && gametype != GT_TEAMPLAY) {
|
||||
//
|
||||
if (!bs->askteamleader_time && !bs->becometeamleader_time) {
|
||||
if (bs->entergame_time + 10 > FloatTime()) {
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.113 2002/06/22 00:19:57 jbravo
|
||||
// Cleanups for colors and stopped bots looking for team leaders in TP
|
||||
//
|
||||
// Revision 1.112 2002/06/21 15:04:55 makro
|
||||
// Health functionality for movers should be complete now
|
||||
//
|
||||
|
@ -371,7 +374,6 @@ void RQ3_SetupTeamSpawnPoints(void);
|
|||
gitem_t *BG_FindItemForHoldable(holdable_t pw);
|
||||
char *ConcatArgs(int start);
|
||||
int touch[MAX_GENTITIES];
|
||||
void ResetKills(gentity_t * ent);
|
||||
void ClearBodyQue(void);
|
||||
void Cmd_DropItem_f(gentity_t * ent);
|
||||
void Cmd_DropWeapon_f(gentity_t * ent);
|
||||
|
@ -1750,13 +1752,16 @@ void GetNearbyTeammates(gentity_t * self, char *buf)
|
|||
if (nearby_teammates_num == 2) {
|
||||
strcat(buf, "^5 and ");
|
||||
strcat(buf, nearby_teammates[l]);
|
||||
strcat(buf, "^5");
|
||||
} else {
|
||||
if (l == (nearby_teammates_num - 1)) {
|
||||
strcat(buf, "^5, and ");
|
||||
strcat(buf, nearby_teammates[l]);
|
||||
strcat(buf, "^5");
|
||||
} else {
|
||||
strcat(buf, "^5, ");
|
||||
strcat(buf, nearby_teammates[l]);
|
||||
strcat(buf, "^5, ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.20 2002/06/22 00:19:57 jbravo
|
||||
// Cleanups for colors and stopped bots looking for team leaders in TP
|
||||
//
|
||||
// Revision 1.19 2002/06/19 18:13:57 jbravo
|
||||
// New TNG spawning system :)
|
||||
//
|
||||
|
@ -119,3 +122,5 @@ void Cmd_Ignoreclear_f(gentity_t * ent);
|
|||
void Cmd_Playerlist_f(gentity_t * ent);
|
||||
int IsInIgnoreList(gentity_t * source, gentity_t * subject);
|
||||
void RQ3_GetSpawnPoints (void);
|
||||
void ResetKills(gentity_t * ent);
|
||||
void AddKilledPlayer(gentity_t * self, gentity_t * ent);
|
||||
|
|
Loading…
Reference in a new issue