From b20a377edd4ede6f29488e0002a34d14d222d3dd Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 2 May 2016 11:59:57 +0100 Subject: [PATCH] Only add "Leader" to name if the leader has speed. --- src/battle/hud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle/hud.c b/src/battle/hud.c index 7cbf5a9..d1f1943 100644 --- a/src/battle/hud.c +++ b/src/battle/hud.c @@ -480,7 +480,7 @@ static void drawDistancesInfo(void) if (player->target) { - if (player->target->flags & EF_AI_LEADER) + if (player->target->flags & EF_AI_LEADER && player->target->speed > 0) { drawText(SCREEN_WIDTH - 15, y, 18, TA_RIGHT, colors.red, _("%s (Leader)"), player->target->name); }