Only add "Leader" to name if the leader has speed.
This commit is contained in:
parent
841d64ed10
commit
b20a377edd
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue