mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-02-17 09:31:42 +00:00
Enable precache for overrides in scripts/mvm_level_sounds.txt
Based on commented-out lines in TF2's game_sounds_manifest.txt, it's clear that mvm_level_sounds.txt was originally intended to be precached; when the file was changed to be loaded as a level-specific sound script override, the precache flag was apparently forgotten. This patch fixes several sounds which have never worked in MvM mode: - SV_StartSound: player/spy_shield_break.wav not precached (0) - SV_StartSound: player/medic_charged_death.wav not precached (0) - SV_StartSound: )player/flame_out.wav not precached (0) - SV_StartSound: physics/concrete/concrete_impact_flare1.wav not precached (0)
This commit is contained in:
parent
0d8dceea43
commit
8c21ca585e
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ public:
|
|||
V_strncpy( scriptfile, "scripts/mvm_level_sounds.txt", sizeof( scriptfile ) );
|
||||
if ( filesystem->FileExists( "scripts/mvm_level_sounds.txt", "GAME" ) )
|
||||
{
|
||||
soundemitterbase->AddSoundOverrides( "scripts/mvm_level_sounds.txt" );
|
||||
soundemitterbase->AddSoundOverrides( "scripts/mvm_level_sounds.txt", true );
|
||||
}
|
||||
if ( filesystem->FileExists( "scripts/mvm_level_sound_tweaks.txt", "GAME" ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue