ref: remove limit on total amount of textures a studio model can contain

This commit is contained in:
Alibek Omarov
2026-01-17 06:05:14 +05:00
parent 4e49cc49f8
commit 742265c2c4
2 changed files with 2 additions and 2 deletions

View File

@@ -3840,7 +3840,7 @@ void Mod_StudioLoadTextures( model_t *mod, void *data )
return;
ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
if( phdr->textureindex > 0 && phdr->numtextures <= MAXSTUDIOSKINS )
if( phdr->textureindex > 0 )
{
for( i = 0; i < phdr->numtextures; i++ )
R_StudioLoadTexture( mod, phdr, &ptexture[i] );