Skip to content

Commit

Permalink
Fix smooth scrape sound
Browse files Browse the repository at this point in the history
  • Loading branch information
undnull committed Mar 21, 2020
1 parent 3508aef commit 0d2d952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/shared/physics_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ void PhysFrictionSound( CBaseEntity *pEntity, IPhysicsObject *pObject, float ene
if ( psurf->sounds.scrapeSmooth && phit->audio.roughnessFactor < psurf->audio.roughThreshold )
{
soundName = psurf->sounds.scrapeSmooth;
soundHandle = &psurf->soundhandles.scrapeRough;
soundHandle = &psurf->soundhandles.scrapeSmooth;
}

const char *pSoundName = physprops->GetString( soundName );
Expand Down

0 comments on commit 0d2d952

Please sign in to comment.