Remove height check, fix #251 (#256)

This commit is contained in:
In-line 2018-01-29 19:11:17 +04:00 committed by GitHub
parent 60b6cf9160
commit dfb236f725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1835,10 +1835,6 @@ void CBombTarget::Spawn()
bool CBombTarget::IsPlayerInBombSite(CBasePlayer *pPlayer)
{
// Player should at least intersect with func_bomb_target.
if (!Intersects(pPlayer->pev->origin, pPlayer->pev->origin))
return false;
const Vector &absmin = pPlayer->pev->absmin;
const Vector &absmax = pPlayer->pev->absmax;