From b925cbd284158711a75d92ff74b1899b4b9c0e4d Mon Sep 17 00:00:00 2001 From: Night Owl Date: Tue, 2 Aug 2016 21:24:33 +0500 Subject: [PATCH] Oops. Fix voice. --- dlls/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/sound.cpp b/dlls/sound.cpp index 5f0d3da3..b97eee12 100644 --- a/dlls/sound.cpp +++ b/dlls/sound.cpp @@ -1269,6 +1269,7 @@ void SENTENCEG_Init() return; memset( buffer, 0, 512 ); + memset( szgroup, 0, 64 ); // for each line in the file... while( memfgets( pMemFile, fileSize, filePos, buffer, 511 ) != NULL ) { @@ -1321,7 +1322,6 @@ void SENTENCEG_Init() buffer[j + 1] = 0; - memset( szgroup, 0, 64 ); // if new name doesn't match previous group name, // make a new group. if( strcmp( szgroup, &( buffer[i] ) ) )