mirror of
https://github.com/ValveSoftware/halflife.git
synced 2025-01-26 13:37:58 +03:00
Fix uninitialized filePos for ricochet
This commit is contained in:
parent
2c78e5d994
commit
a4fe2cbd4e
@ -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…
x
Reference in New Issue
Block a user