mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
fix func_nobuilds underneath the map preventing commanders from dropping structures
This commit is contained in:
parent
3e404baff8
commit
3220c418ed
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue