Don't show current / target numbers for conditions.
This commit is contained in:
parent
ddf5a3106f
commit
92ca28bf3c
|
@ -108,7 +108,7 @@ static void drawMissionSummary(SDL_Texture *header)
|
||||||
}
|
}
|
||||||
|
|
||||||
drawText(SCREEN_WIDTH / 2 - 100, y, 22, TA_RIGHT, colors.white, o->description);
|
drawText(SCREEN_WIDTH / 2 - 100, y, 22, TA_RIGHT, colors.white, o->description);
|
||||||
if (o->targetValue > 1)
|
if (o->targetValue > 1 && !o->isCondition)
|
||||||
{
|
{
|
||||||
drawText(SCREEN_WIDTH / 2, y, 22, TA_CENTER, colors.white, "%d / %d", o->currentValue, o->targetValue);
|
drawText(SCREEN_WIDTH / 2, y, 22, TA_CENTER, colors.white, "%d / %d", o->currentValue, o->targetValue);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue