mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
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:
parent
4006358492
commit
1066214548
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue