Show oxygen level to 1 decimal place.

This commit is contained in:
Steve 2018-03-04 13:36:11 +00:00
parent 934dd431aa
commit 222147665e
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ static void drawOxygen(void)
drawOutlineRect(35, 58, w, 18, 0, 0, 0, 255);
drawText(35 + w + 5, 57, 14, TA_LEFT, colors.white, "%ds", world.bob->oxygen / FPS);
drawText(35 + w + 5, 57, 14, TA_LEFT, colors.white, "%.1fs", (world.bob->oxygen * 1.0) / FPS);
}
static void drawInventory(void)