mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-26 22:21:17 +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];
|
||||
int i, j;
|
||||
byte *pMemFile;
|
||||
int fileSize, filePos = 0;
|
||||
int fileSize = 0;
|
||||
int filePos = 0;
|
||||
|
||||
if (fTextureTypeInit)
|
||||
return;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue