When in third person, don't play player's sounds as full volume in Base sound system. OpenAL already does this. (Related to bug 5741.)

This commit is contained in:
Zack Middleton 2012-10-17 20:39:45 +00:00
parent ce9f2ee5f9
commit d49d0753eb
3 changed files with 68 additions and 10 deletions

View file

@ -74,6 +74,8 @@ typedef struct {
#define MAX_DOPPLER_SCALE 50.0f //arbitrary
#define THIRD_PERSON_THRESHOLD_SQ (48.0f*48.0f)
typedef struct loopSound_s {
vec3_t origin;
vec3_t velocity;
@ -102,6 +104,7 @@ typedef struct
qboolean fixed_origin; // use origin instead of fetching entnum's origin
sfx_t *thesfx; // sfx structure
qboolean doppler;
qboolean fullVolume;
} channel_t;