Don't render static mesh if there is no static xyz

This commit is contained in:
smallmodel 2024-12-18 19:44:48 +01:00
parent 58bef33bc7
commit 7d369dec74
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1517,6 +1517,9 @@ void RB_StaticMesh(staticSurface_t *staticSurf)
surf = staticSurf->surface;
assert(surf->pStaticXyz);
if (!surf->pStaticXyz) {
return;
}
meshNum = staticSurf->meshNum;
skelmodel = ri.TIKI_GetSkel(tiki->mesh[meshNum]);