]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix wrong use of ##.
authorRudolf Polzer <divverent@xonotic.org>
Mon, 7 Apr 2014 09:24:03 +0000 (11:24 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 7 Apr 2014 09:24:03 +0000 (11:24 +0200)
qcsrc/client/hud.qh

index 46bc0efbf2680c04ac678ec86a9cc41c0cd02fc9..5c062c5facb3400224105766e1628651f83c8c50 100644 (file)
@@ -118,7 +118,7 @@ float current_player;
 
 #define HUD_PANEL(NAME,draw_func,name) \
        float HUD_PANEL_##NAME; \
-       void ##draw_func(void); \
+       void draw_func(void); \
        void RegisterHUD_Panel_##NAME() \
        { \
                HUD_PANEL_LAST = HUD_PANEL_##NAME = HUD_PANEL_NUM; \
@@ -127,7 +127,7 @@ float current_player;
                hud_panelent.classname = "hud_panel"; \
                hud_panelent.panel_name = #name; \
                hud_panelent.panel_id = HUD_PANEL_##NAME; \
-               hud_panelent.panel_draw = ##draw_func; \
+               hud_panelent.panel_draw = draw_func; \
                ++HUD_PANEL_NUM; \
        } \
        ACCUMULATE_FUNCTION(RegisterHUD_Panels, RegisterHUD_Panel_##NAME);