fix func_nobuilds underneath the map preventing commanders from dropping structures

This commit is contained in:
pierow 2024-03-04 22:15:18 -05:00
parent 3e404baff8
commit 3220c418ed
1 changed files with 2 additions and 1 deletions

View File

@ -2991,7 +2991,8 @@ bool AvHSUClientTraceTangible(const vec3_t& inStartPos, const vec3_t& inEndPos,
if(pEntity)
{
if(pEntity->iuser3 != AVH_USER3_NONE)
// 2024 - Also skip nobuilds on client since clients can now see them.
if(pEntity->iuser3 != AVH_USER3_NONE && pEntity->iuser3 != AVH_USER3_NOBUILD)
{
VectorCopy(tr.endpos, outLocation);
outIndex = theFoundEntity;