Merge pull request #1732 from Sir-Skurpsalot/tsStatic_fix

Update tsStatic.cpp
This commit is contained in:
Brian Roberts 2026-05-11 16:13:28 -05:00 committed by GitHub
commit 58d6038016
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1188,6 +1188,10 @@ bool TSStatic::castRay(const Point3F& start, const Point3F& end, RayInfo* info)
info->material = NULL;
return true;
}
else if (mDecalType == VisibleMesh) //if we want decals at high fidelity, probly want the same for sounds, projectles, ect
{
return castRayRendered(start, end, info);
}
else
{
RayInfo shortest = *info;