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

View file

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