Fix "brought in 1 skulls" Harvester message

Use correct singular/plural form of skulls for Harvester's brought in
skulls message.

Reported by Tobias.
This commit is contained in:
Zack Middleton 2017-06-02 21:40:21 -05:00
parent 4006358492
commit 1066214548
1 changed files with 2 additions and 2 deletions

View File

@ -1280,8 +1280,8 @@ static void ObeliskTouch( gentity_t *self, gentity_t *other, trace_t *trace ) {
return;
}
PrintMsg(NULL, "%s" S_COLOR_WHITE " brought in %i skull%s.\n",
other->client->pers.netname, tokens, tokens ? "s" : "" );
PrintMsg(NULL, "%s" S_COLOR_WHITE " brought in %i %s.\n",
other->client->pers.netname, tokens, ( tokens == 1 ) ? "skull" : "skulls" );
AddTeamScore(self->s.pos.trBase, other->client->sess.sessionTeam, tokens);
Team_ForceGesture(other->client->sess.sessionTeam);