[ioquake3] 88/136: Fix "brought in 1 skulls" Harvester message
Simon McVittie
smcv at debian.org
Thu Jun 15 09:09:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit 1066214548d6a154c05332c86610f60f03bd4193
Author: Zack Middleton <zack at cloemail.com>
Date: Fri Jun 2 21:40:21 2017 -0500
Fix "brought in 1 skulls" Harvester message
Use correct singular/plural form of skulls for Harvester's brought in
skulls message.
Reported by Tobias.
---
code/game/g_team.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/game/g_team.c b/code/game/g_team.c
index b3fb2f2..12d9f6a 100644
--- a/code/game/g_team.c
+++ b/code/game/g_team.c
@@ -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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list