Do not throw grenades in narrow places.

Removed displaying of "CROSSING" flag for nodes, as it's not used anymore.
Do not aim last / predict enemy in narrow places (like tunnels, when crouching).
This commit is contained in:
jeefo 2020-01-08 18:29:28 +03:00
commit 2aba34a24b
9 changed files with 121 additions and 16 deletions

View file

@ -872,6 +872,10 @@ private:
return pev->waterlevel >= 2;
}
bool isInNarrowPlace () const {
return (m_pathFlags & NodeFlag::Narrow);
}
public:
entvars_t *pev;