don't seg if there's no texture data

This commit is contained in:
Bill Currie 2003-03-22 04:33:52 +00:00
parent bd08b03791
commit fc553cefbc

View file

@ -119,6 +119,9 @@ CalcAmbientSounds (void)
if (!(vis[j >> 3] & (1 << (j & 7))))
continue;
if (!bsp->texdata)
continue;
// check this leaf for sound textures
hit = &bsp->leafs[j + 1];