Fix uninitialized filePos for ricochet

This commit is contained in:
shawns-valve 2024-10-02 14:39:52 -07:00
parent 2c78e5d994
commit a4fe2cbd4e
2 changed files with 4 additions and 2 deletions

View file

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

View file

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