From 1c8047e4a205316ad5a5d27729e156e2d754e6fa Mon Sep 17 00:00:00 2001 From: Juhu_ <> Date: Wed, 29 Apr 2020 19:22:26 +0200 Subject: [PATCH] fix initial commit --- qcsrc/client/hud/panel/strafehud.qc | 8 +++++--- qcsrc/menu/xonotic/dialog_hudpanel_strafehud.qc | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/qcsrc/client/hud/panel/strafehud.qc b/qcsrc/client/hud/panel/strafehud.qc index 62e6c5518..b86788700 100644 --- a/qcsrc/client/hud/panel/strafehud.qc +++ b/qcsrc/client/hud/panel/strafehud.qc @@ -1,15 +1,17 @@ // Name: StrafeHUD // Author: Juhu -// FIXME: strafehud disabled in spectate due to lack of IS_ONGROUND() +// FIXME: strafehud doesn't properly work in spectate due to lack of IS_ONGROUND() #include "strafehud.qh" #include -#include #include -#include +#include #include +#include +#include +#include #include bool strafehud_fwd = true; diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_strafehud.qc b/qcsrc/menu/xonotic/dialog_hudpanel_strafehud.qc index 394e96b47..f8fa0a9a8 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_strafehud.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_strafehud.qc @@ -2,7 +2,8 @@ #include "textlabel.qh" #include "textslider.qh" -#include "checkbox.qh" +#include "checkbox_string.qh" +#include "colorpicker_string.qh" #include "slider.qh" void XonoticHUDStrafeHUDDialog_fill(entity me) -- 2.39.2