Initial Mapbase commit (squashed from mapbase-beta)

This commit is contained in:
Blixibon
2019-08-31 19:28:20 +00:00
parent 0d8dceea43
commit 3d464bc051
816 changed files with 105527 additions and 957 deletions

View File

@@ -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 );