Indicate that target is the Leader.

This commit is contained in:
Steve 2016-04-28 11:50:57 +01:00
parent 6ad1a56f23
commit 73d7f059ba
1 changed files with 8 additions and 1 deletions

View File

@ -480,7 +480,14 @@ static void drawDistancesInfo(void)
if (player->target)
{
drawText(SCREEN_WIDTH - 15, y, 18, TA_RIGHT, colors.red, player->target->name);
if (player->target->flags & EF_AI_LEADER)
{
drawText(SCREEN_WIDTH - 15, y, 18, TA_RIGHT, colors.red, _("%s (Leader)"), player->target->name);
}
else
{
drawText(SCREEN_WIDTH - 15, y, 18, TA_RIGHT, colors.red, player->target->name);
}
y += 30;