if(autocvar_g_buffs_randomize)
buff_NewType(self, self.buffs);
- if(autocvar_g_buffs_random_location || (self.spawnflags & 1))
+ if(autocvar_g_buffs_random_location || (self.spawnflags & 64))
buff_Respawn(self);
}
buff_Waypoint_Reset();
self.buff_activetime_updated = false;
- if(autocvar_g_buffs_random_location || (self.spawnflags & 1))
+ if(autocvar_g_buffs_random_location || (self.spawnflags & 64))
buff_Respawn(self);
}
setmodel(self, BUFF_MODEL);
setsize(self, BUFF_MIN, BUFF_MAX);
- if(cvar("g_buffs_random_location") || (self.spawnflags & 1))
+ if(cvar("g_buffs_random_location") || (self.spawnflags & 64))
buff_Respawn(self);
self = oldself;
for(i = 0; i < autocvar_g_buffs_spawn_count; ++i)
{
entity e = spawn();
- e.spawnflags |= 1; // always randomize
+ e.spawnflags |= 64; // always randomize
e.velocity = randomvec() * 250; // this gets reset anyway if random location works
buff_Init(e);
}