X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fscore.qc;h=525bf614b8be11e0cd01c075ec857b61c2937090;hb=ad2d918472c84295255fba550959b58cacc9cfb1;hp=24be15432d12f18e5d6766d01533f96bf7940bab;hpb=0bd99205bd154e058edc6b82995d24e3375f5f97;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud/panel/score.qc b/qcsrc/client/hud/panel/score.qc index 24be15432..525bf614b 100644 --- a/qcsrc/client/hud/panel/score.qc +++ b/qcsrc/client/hud/panel/score.qc @@ -1,8 +1,12 @@ #include "score.qh" +#include +#include +#include #include "scoreboard.qh" #include #include +#include // Score (#7) @@ -136,7 +140,7 @@ void HUD_Score() if(!autocvar__hud_configure) { if(!autocvar_hud_panel_score) return; - if(spectatee_status == -1 && (gametype == MAPINFO_TYPE_RACE || gametype == MAPINFO_TYPE_CTS)) return; + if(spectatee_status == -1 && (ISGAMETYPE(RACE) || ISGAMETYPE(CTS))) return; } HUD_Panel_LoadCvars();