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 d2b90db commit ea72cf8
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 ea72cf8

Please sign in to comment.