Skip to content

Commit

Permalink
Fix smooth scrape sound copy-paste mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyMehis committed Jun 22, 2020
1 parent 748c4b6 commit f2ea04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp/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 f2ea04b

Please sign in to comment.