Skip to content

Commit

Permalink
FFQuantityItem: Fix bars not rendering when font is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWillden committed Oct 26, 2020
1 parent 042ddf9 commit fef7969
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cl_dll/ff/vgui/ff_quantityitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,10 @@ namespace vgui
// havent loaded a font yet, probably during first tick so return
if (hfFont == NULL)
{
iX = 0;
iY = 0;
iWide = 0;
iTall = 0;
return;
}

Expand Down

0 comments on commit fef7969

Please sign in to comment.