Fixes crashes in sound.cpp for dmc and ricochet mods.
This commit is contained in:
Dominik Tugend 2015-05-29 19:45:43 +02:00
parent 5d761709a3
commit 82ebce20bd
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;