aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/ModelSoundsCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/shared/ModelSoundsCache.cpp')
-rw-r--r--mp/src/game/shared/ModelSoundsCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp/src/game/shared/ModelSoundsCache.cpp b/mp/src/game/shared/ModelSoundsCache.cpp
index e6ad628b..4f4f10fb 100644
--- a/mp/src/game/shared/ModelSoundsCache.cpp
+++ b/mp/src/game/shared/ModelSoundsCache.cpp
@@ -68,7 +68,7 @@ void CModelSoundsCache::Restore( CUtlBuffer& buf )
{
char soundname[ 512 ];
- buf.GetString( soundname, sizeof( soundname ) );
+ buf.GetString( soundname );
int idx = soundemitterbase->GetSoundIndex( soundname );
if ( idx != -1 )