fix: problems with picking up grenades on the ground (ref #529)

fix: picking up m249 ammo from the ground
fix: make bots respect camping_time_min/max when guarding bomb/hostages
nav: make normal and rusher bots less defensive on hostage maps (ref #528)
This commit is contained in:
jeefo 2024-02-19 09:36:15 +03:00
commit 67eb6334f6
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
7 changed files with 37 additions and 23 deletions

View file

@ -126,9 +126,6 @@ public:
bool isInViewCone (const Vector &pos, edict_t *ent) {
return getShootingCone (ent, pos) >= cr::cosf (cr::deg2rad ((ent->v.fov > 0 ? ent->v.fov : 90.0f) * 0.5f));
}
public:
static int32_t CR_STDCALL sendTo (int socket, const void *message, size_t length, int flags, const struct sockaddr *dest, int destLength);
};
// expose global