mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-04-14 05:30:02 +03:00
parent
60b6cf9160
commit
dfb236f725
@ -1835,10 +1835,6 @@ void CBombTarget::Spawn()
|
|||||||
|
|
||||||
bool CBombTarget::IsPlayerInBombSite(CBasePlayer *pPlayer)
|
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 &absmin = pPlayer->pev->absmin;
|
||||||
const Vector &absmax = pPlayer->pev->absmax;
|
const Vector &absmax = pPlayer->pev->absmax;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user