Update tsStatic.cpp

This commit is contained in:
Sir-Skurpsalot 2026-05-11 15:07:17 -06:00 committed by GitHub
parent 8407fa360c
commit 11bbbbec6e
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;