mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-21 12:01:07 +00:00
Addresses ValveSoftware/halflife#1622
Fixes crashes in sound.cpp for dmc and ricochet mods.
This commit is contained in:
parent
5d761709a3
commit
82ebce20bd
2 changed files with 2 additions and 2 deletions
|
@ -1539,7 +1539,7 @@ void TEXTURETYPE_Init()
|
|||
char buffer[512];
|
||||
int i, j;
|
||||
byte *pMemFile;
|
||||
int fileSize, filePos;
|
||||
int fileSize, filePos = 0;
|
||||
|
||||
if (fTextureTypeInit)
|
||||
return;
|
||||
|
|
|
@ -1544,7 +1544,7 @@ void TEXTURETYPE_Init()
|
|||
char buffer[512];
|
||||
int i, j;
|
||||
byte *pMemFile;
|
||||
int fileSize, filePos;
|
||||
int fileSize, filePos = 0;
|
||||
|
||||
if (fTextureTypeInit)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue