mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-23 12:42:41 +00:00
Fix uninitialized filePos for ricochet
This commit is contained in:
parent
2c78e5d994
commit
a4fe2cbd4e
2 changed files with 4 additions and 2 deletions
|
@ -1541,7 +1541,8 @@ void TEXTURETYPE_Init()
|
||||||
char buffer[512];
|
char buffer[512];
|
||||||
int i, j;
|
int i, j;
|
||||||
byte *pMemFile;
|
byte *pMemFile;
|
||||||
int fileSize, filePos = 0;
|
int fileSize = 0;
|
||||||
|
int filePos = 0;
|
||||||
|
|
||||||
if (fTextureTypeInit)
|
if (fTextureTypeInit)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1544,7 +1544,8 @@ void TEXTURETYPE_Init()
|
||||||
char buffer[512];
|
char buffer[512];
|
||||||
int i, j;
|
int i, j;
|
||||||
byte *pMemFile;
|
byte *pMemFile;
|
||||||
int fileSize, filePos;
|
int fileSize = 0;
|
||||||
|
int filePos = 0;
|
||||||
|
|
||||||
if (fTextureTypeInit)
|
if (fTextureTypeInit)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue