aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/SceneCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/shared/SceneCache.cpp')
-rw-r--r--mp/src/game/shared/SceneCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp/src/game/shared/SceneCache.cpp b/mp/src/game/shared/SceneCache.cpp
index 0728c27b..c993ef46 100644
--- a/mp/src/game/shared/SceneCache.cpp
+++ b/mp/src/game/shared/SceneCache.cpp
@@ -59,7 +59,7 @@ void CSceneCache::Restore( CUtlBuffer& buf )
for ( int i = 0; i < c; ++i )
{
char soundname[ 512 ];
- buf.GetString( soundname, sizeof( soundname ) );
+ buf.GetString( soundname );
int idx = soundemitterbase->GetSoundIndex( soundname );
if ( idx != -1 )