HWR_PrecacheLevelTextures should also skip texture number 0
whoopsie
This commit is contained in:
1 parent
b783913649
commit
e5d5ac884a
1 file changed
+1
-1
@@ -752,7 +752,7 @@ static void HWR_PrecacheLevelTextures(void)
|
||||
{
|
||||
const INT32 texnum = sidetex[f];
|
||||
|
||||
if (texnum < 0 || (unsigned)texnum >= gl_numtextures)
|
||||
if (texnum <= 0 || (unsigned)texnum >= gl_numtextures)
|
||||
continue;
|
||||
|
||||
if (!(texturepresent[texnum] & 1))
|
||||
|
||||
Reference in new issue
Block a user