X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_ctf.qh;h=ca4961eddc24231a6056943a0b2bffcdb5dcec06;hb=31bf64ba7821ebb5c0aba8a154472810074ed11e;hp=1c5898bd1ad99afc1e3d773984620de82a2f288d;hpb=278f5440b4272f696c6b6e5bb9bb3139b8b53a11;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/gamemode_ctf.qh b/qcsrc/server/mutators/gamemode_ctf.qh index 1c5898bd1..ca4961edd 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qh +++ b/qcsrc/server/mutators/gamemode_ctf.qh @@ -1,5 +1,6 @@ // these are needed since mutators are compiled last +#ifdef SVQC // used in cheats.qc void ctf_RespawnFlag(entity flag); @@ -37,7 +38,7 @@ void ctf_RespawnFlag(entity flag); #define WPCOLOR_FLAGCARRIER(t) ('0.8 0.8 0') #define WPCOLOR_DROPPEDFLAG(t) (('0.25 0.25 0.25' + colormapPaletteColor(t - 1, FALSE)) * 0.5) -// sounds +// sounds #define snd_flag_taken noise #define snd_flag_returned noise1 #define snd_flag_capture noise2 @@ -59,7 +60,7 @@ entity ctf_worldflaglist; // waypoint sprites .entity bot_basewaypoint; // flag waypointsprite .entity wps_helpme; -.entity wps_flagbase; +.entity wps_flagbase; .entity wps_flagcarrier; .entity wps_flagdropped; .entity wps_enemyflagcarrier; @@ -130,3 +131,4 @@ vector havocbot_ctf_middlepoint; float havocbot_ctf_middlepoint_radius; void havocbot_role_ctf_setrole(entity bot, float role); +#endif