mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Don't render static mesh if there is no static xyz
This commit is contained in:
parent
58bef33bc7
commit
7d369dec74
1 changed files with 3 additions and 0 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue