mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-02 01:51:37 +00:00
Quick-fix for server crashing on some maps with null names/textures.
This commit is contained in:
parent
ea7c4363ba
commit
7234a479c8
1 changed files with 4 additions and 1 deletions
|
@ -768,6 +768,9 @@ void Mod_LoadFaces (lump_t *l)
|
||||||
out->samples = loadmodel->lightdata + i;
|
out->samples = loadmodel->lightdata + i;
|
||||||
|
|
||||||
// set the drawing flags flag
|
// set the drawing flags flag
|
||||||
|
// fixme: do this right?-)
|
||||||
|
if (!out->texinfo->texture) continue;
|
||||||
|
if (!out->texinfo->texture->name) continue;
|
||||||
|
|
||||||
if (!strncmp(out->texinfo->texture->name,"sky",3)) // sky
|
if (!strncmp(out->texinfo->texture->name,"sky",3)) // sky
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue