X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fscore.qc;h=525bf614b8be11e0cd01c075ec857b61c2937090;hp=24be15432d12f18e5d6766d01533f96bf7940bab;hb=93afc08b09294e6dea4d0c98ce5226fdee9d1c92;hpb=acddeee8ad8acd0099fdd25d5049e302d6246f24 diff --git a/qcsrc/client/hud/panel/score.qc b/qcsrc/client/hud/panel/score.qc index 24be15432d..525bf614b8 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();