mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-13 00:24:06 +00:00
Task FS#4 and Fix
- Implemented Task FS#4 - added a missing } in g_cmds.c
This commit is contained in:
parent
b0a419857a
commit
a013c95957
2 changed files with 1 additions and 13 deletions
|
@ -6063,6 +6063,7 @@ static void Cmd_admin_centerprint_f(gentity_t *ent) {
|
||||||
|
|
||||||
if ( !ent || !ent->client ) {
|
if ( !ent || !ent->client ) {
|
||||||
return; // not fully in game yet
|
return; // not fully in game yet
|
||||||
|
}
|
||||||
|
|
||||||
arg = ConcatArgs( 1 );
|
arg = ConcatArgs( 1 );
|
||||||
|
|
||||||
|
|
|
@ -1173,12 +1173,6 @@ qboolean CalculateDemolitionist(gentity_t *ent, int *kills)
|
||||||
return qfalse;
|
return qfalse;
|
||||||
}
|
}
|
||||||
|
|
||||||
int CalculateStreak(gentity_t *ent)
|
|
||||||
{
|
|
||||||
/* TODO: remove me */
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
qboolean CalculateTeamMVP(gentity_t *ent)
|
qboolean CalculateTeamMVP(gentity_t *ent)
|
||||||
{
|
{
|
||||||
int i = 0, nBestPlayer = -1, nScore = 0, nHighestScore = 0,
|
int i = 0, nBestPlayer = -1, nScore = 0, nHighestScore = 0,
|
||||||
|
@ -1488,13 +1482,6 @@ void CalculateAwards(gentity_t *ent, char *msg)
|
||||||
strcpy(buf2, buf1);
|
strcpy(buf2, buf1);
|
||||||
Com_sprintf(buf1, AWARDS_MSG_LENGTH, "%s %d", buf2, kills);
|
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)
|
if (g_gametype.integer >= GT_TEAM)
|
||||||
{
|
{
|
||||||
teamAwards = CalculateTeamAward(ent);
|
teamAwards = CalculateTeamAward(ent);
|
||||||
|
|
Loading…
Reference in a new issue