mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
don't seg if there's no texture data
This commit is contained in:
parent
bd08b03791
commit
fc553cefbc
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue