setmodel(flag, flag.model); // precision set below
setsize(flag, FLAG_MIN, FLAG_MAX);
setorigin(flag, (flag.origin + FLAG_SPAWN_OFFSET));
- if(!flag.scale) { flag.scale = 0.6; } // FIXME: why hard coded 0.6?
+ if(!flag.scale) { flag.scale = FLAG_SCALE; }
flag.skin = ((teamnumber) ? autocvar_g_ctf_flag_red_skin : autocvar_g_ctf_flag_blue_skin);
// Hook Functions
// ==============
-// g_ctf_ignore_frags
-
MUTATOR_HOOKFUNCTION(ctf_RemovePlayer)
{
if(self.flagcarried) { ctf_Handle_Drop(self); }
#define FLAG_CARRY_OFFSET ('-15 0 7')
#define FLAG_SPAWN_OFFSET ('0 0 1' * (PL_MAX_z - 13))
#define FLAG_WAYPOINT_OFFSET ('0 0 64')
+#define FLAG_SCALE 0.6
// list of flags on the map
entity ctf_worldflaglist;