mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Initial Mapbase commit (squashed from mapbase-beta)
This commit is contained in:
@@ -1003,7 +1003,11 @@ void PhysFrictionSound( CBaseEntity *pEntity, IPhysicsObject *pObject, float ene
|
||||
if ( psurf->sounds.scrapeSmooth && phit->audio.roughnessFactor < psurf->audio.roughThreshold )
|
||||
{
|
||||
soundName = psurf->sounds.scrapeSmooth;
|
||||
#ifdef MAPBASE
|
||||
soundHandle = &psurf->soundhandles.scrapeSmooth;
|
||||
#else
|
||||
soundHandle = &psurf->soundhandles.scrapeRough;
|
||||
#endif
|
||||
}
|
||||
|
||||
const char *pSoundName = physprops->GetString( soundName );
|
||||
|
||||
Reference in New Issue
Block a user