Only print item quantity if it's more than 0.
This commit is contained in:
parent
4d41f7f56c
commit
b31d061d42
|
@ -318,8 +318,11 @@ void drawMissionStatus(void)
|
|||
|
||||
blitRectScaled(atlasTexture->texture, x + mid, y + mid, rw, rh, r, 1);
|
||||
|
||||
if (world.bob->items[i]->value > 0)
|
||||
{
|
||||
drawText(x + size - 5, y, 14, TA_RIGHT, colors.white, "%d", world.bob->items[i]->value);
|
||||
}
|
||||
}
|
||||
|
||||
x += (size + 30);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue