Skip to content

Commit

Permalink
CGAME: enable temporary printing of remaining floater seconds
Browse files Browse the repository at this point in the history
this will hopefully shed some light onto ioquake#136
  • Loading branch information
mgerhardy committed Jun 10, 2021
1 parent 373d518 commit 7888dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ static void CG_DrawHoldableItem(float y) {
CG_FillRect(barX, y + ICON_SIZE - barHeight, 10, barHeight, barColor);
CG_DrawRect(barX, y, 10, ICON_SIZE, 1.0f, colorWhite);
}
if (itemId == HI_KILLERDUCKS || itemId == HI_BOOMIES) {
if (itemId == HI_KILLERDUCKS || itemId == HI_BOOMIES || itemId == HI_FLOATER) {
CG_DrawStringExt(640 - 28, y + 8, va("%i", itemState), colorWhite, qtrue, qtrue,
8, 16, 1);
}
Expand Down

0 comments on commit 7888dce

Please sign in to comment.