From: Samual Date: Mon, 2 Apr 2012 03:17:43 +0000 (-0400) Subject: No need to use macros for this, just declare them directly X-Git-Tag: xonotic-v0.7.0~240^2~110 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ade7db4214dfba73dcd7005c2e085eaed5ae583d;p=xonotic%2Fxonotic-data.pk3dir.git No need to use macros for this, just declare them directly --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qh b/qcsrc/server/mutators/gamemode_ctf.qh index 47f37567a..427c65fc9 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qh +++ b/qcsrc/server/mutators/gamemode_ctf.qh @@ -37,15 +37,12 @@ void spawnfunc_ctf_team(); #define WPCOLOR_DROPPEDFLAG(t) (('0.25 0.25 0.25' + colormapPaletteColor(t - 1, FALSE)) * 0.5) // sounds -.string noise4; -.string noise5; - #define snd_flag_taken noise #define snd_flag_returned noise1 #define snd_flag_capture noise2 #define snd_flag_respawn noise3 -#define snd_flag_dropped noise4 -#define snd_flag_touch noise5 +.string snd_flag_dropped; +.string snd_flag_touch; // list of flags on the map entity ctf_worldflaglist;