Only add "Leader" to name if the leader has speed.

This commit is contained in:
Steve 2016-05-02 11:59:57 +01:00
parent 841d64ed10
commit b20a377edd
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}