Skip to content

Commit

Permalink
Fix for sound bug on goldrush by disabling ioq3 feature
Browse files Browse the repository at this point in the history
By disabling the hearing through entity functionality we effectively have the same code for this as ETL again, which is sufficient. Obviously 3rd person will be full volume though.
  • Loading branch information
ensiform committed Jan 24, 2019
1 parent 21f199c commit b497fb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/snd_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,10 @@ Also see S_AL_HearingThroughEntity
*/
static qboolean S_Base_HearingThroughEntity( int entityNum, vec3_t origin )
{
if ( entityNum == listener_number )
return qtrue;
return qfalse;
#if 0
float distanceSq;
vec3_t sorigin;

Expand Down Expand Up @@ -651,6 +655,7 @@ static qboolean S_Base_HearingThroughEntity( int entityNum, vec3_t origin )
}
else
return qfalse; //not the player
#endif
}

/*
Expand Down

0 comments on commit b497fb1

Please sign in to comment.