Task FS#4 and Fix

- Implemented Task FS#4
- added a missing } in g_cmds.c
This commit is contained in:
Walter Julius Hennecke 2012-12-09 01:40:02 +01:00
parent b0a419857a
commit a013c95957
2 changed files with 1 additions and 13 deletions

View file

@ -6063,6 +6063,7 @@ static void Cmd_admin_centerprint_f(gentity_t *ent) {
if ( !ent || !ent->client ) {
return; // not fully in game yet
}
arg = ConcatArgs( 1 );

View file

@ -1173,12 +1173,6 @@ qboolean CalculateDemolitionist(gentity_t *ent, int *kills)
return qfalse;
}
int CalculateStreak(gentity_t *ent)
{
/* TODO: remove me */
return 0;
}
qboolean CalculateTeamMVP(gentity_t *ent)
{
int i = 0, nBestPlayer = -1, nScore = 0, nHighestScore = 0,
@ -1488,13 +1482,6 @@ void CalculateAwards(gentity_t *ent, char *msg)
strcpy(buf2, buf1);
Com_sprintf(buf1, AWARDS_MSG_LENGTH, "%s %d", buf2, kills);
}
streak = CalculateStreak(ent);
if (streak)
{
awardFlags |= (1<<AWARD_STREAK);
strcpy(buf2, buf1);
Com_sprintf(buf1, AWARDS_MSG_LENGTH, "%s %d", buf2, streak);
}
if (g_gametype.integer >= GT_TEAM)
{
teamAwards = CalculateTeamAward(ent);