From: Samual Lenks Date: Sun, 28 Apr 2013 23:48:41 +0000 (-0400) Subject: Add classname for panel entities X-Git-Tag: xonotic-v0.7.0~62^2~4^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cc2b801a0348db32270bd33bfbc47c0c23edddb5;p=xonotic%2Fxonotic-data.pk3dir.git Add classname for panel entities --- diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index 4d52c28c6..28314884d 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -124,6 +124,7 @@ float current_player; HUD_PANEL_LAST = HUD_PANEL_##NAME = HUD_PANEL_NUM; \ entity hud_panelent = spawn(); \ hud_panel[HUD_PANEL_##NAME] = hud_panelent; \ + hud_panelent.classname = "hud_panel"; \ hud_panelent.panel_name = #name; \ hud_panelent.panel_id = HUD_PANEL_##NAME; \ hud_panelent.panel_draw = ##draw_func; \