mirror of
https://github.com/ValveSoftware/halflife.git
synced 2025-01-12 14:48:03 +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];
|
||||
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…
x
Reference in New Issue
Block a user