From aaf19dd6abc6ab97962e77d606b1710894dcf4a1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 9 Jun 2005 22:21:54 +0000 Subject: [PATCH] (play): Simplify counting of players. --- src/lib/commands/play.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/commands/play.c b/src/lib/commands/play.c index ef17bf3f3..59109e00e 100644 --- a/src/lib/commands/play.c +++ b/src/lib/commands/play.c @@ -47,15 +47,13 @@ play(void) { struct player *joe; int saw = 0; - int count = 0; + play_header(); for (joe = player_prev(0); joe; joe = player_prev(joe)) { - if (!count++) - play_header(); saw += play_list(joe); } if (player->god || opt_BLITZ) - pr("%d player%s\n", count, splur(count)); + pr("%d player%s\n", saw, splur(saw)); return RET_OK; } -- 2.43.0