More hitboxes for Buildings
This commit is contained in:
parent
12c5b0d0c3
commit
1fbb177548
@ -895,6 +895,8 @@ bool VisCheckEntFromEntVector(Vector startVector, CachedEntity *startEnt, Cached
|
||||
|
||||
Vector GetBuildingPosition(CachedEntity *ent)
|
||||
{
|
||||
if (ent->hitboxes.GetHitbox(1))
|
||||
return ent->hitboxes.GetHitbox(1)->center;
|
||||
if (ent->hitboxes.GetHitbox(0))
|
||||
return ent->hitboxes.GetHitbox(0)->center;
|
||||
Vector res;
|
||||
|
Reference in New Issue
Block a user