Merge pull request #1899 from advancedfx/fix-valve1622

Addresses ValveSoftware/halflife#1622
This commit is contained in:
shawns-valve 2024-08-31 14:47:08 -07:00 committed by GitHub
commit e5815c34e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1539,7 +1539,7 @@ void TEXTURETYPE_Init()
char buffer[512]; char buffer[512];
int i, j; int i, j;
byte *pMemFile; byte *pMemFile;
int fileSize, filePos; int fileSize, filePos = 0;
if (fTextureTypeInit) if (fTextureTypeInit)
return; return;

View file

@ -1544,7 +1544,7 @@ void TEXTURETYPE_Init()
char buffer[512]; char buffer[512];
int i, j; int i, j;
byte *pMemFile; byte *pMemFile;
int fileSize, filePos; int fileSize, filePos = 0;
if (fTextureTypeInit) if (fTextureTypeInit)
return; return;