]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add patch from Juhu/strafehud-fixes branch: "strafehud: add include for IS_PLAYER...
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Sat, 8 Oct 2022 00:10:22 +0000 (02:10 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Sat, 8 Oct 2022 00:10:22 +0000 (02:10 +0200)
qcsrc/client/hud/panel/strafehud.qc

index fa71fbb45ebce7b7694b39a64e4955152431ae1d..1fdc60a783f9caf87d3bb188a7a8f4d38ef715d6 100644 (file)
@@ -18,6 +18,7 @@
 #include <client/hud/panel/racetimer.qh> // checkpoint information (race_*)
 
 // jump height
+#include <lib/csqcmodel/common.qh> // for IS_PLAYER() macro
 #include <common/resources/cl_resources.qh> // IS_DEAD() macro
 
 AUTOCVAR_SAVE(hud_panel_strafehud_pos, string, "0.320000 0.570000", "position of this base of the panel");