Talk:VGUI Health bar

From Valve Developer Community
Jump to navigation Jump to search

I'm not sure how or if I should do the editing on my own, but this code example gave out errors when using the Multiplayer Template, saying I was using ISurface incorrectly on line 86 in hud_hull.cpp. I fixed it by adding "vgui/ISurface.h" to the includes, it is listed in the non scratch build fix section...

After that it compiled fine. I'll leave it up to someone who knows what they are doing to look at this and decide what to do and how to reformat things...