Merge pull request #89 from tyleryoung88/main

[SERVER] Adjust quiet zombie groans volume and attenuation slightly
This commit is contained in:
cypress 2024-09-07 18:07:46 -07:00 committed by GitHub
commit 6b8d59da01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,7 @@ void(entity source_ent, string path, float type, float priority) Sound_PlaySound
case SOUND_TYPE_ZOMBIE_QUIET:
float zombie_quiet_groan = Sound_GetZombieGroan();
if (priority == SOUND_PRIORITY_PLAYALWAYS || zombie_quiet_groan != -1) {
PLAYSOUND(source_ent, CHAN_VOICE, path, 0.60, 1);
PLAYSOUND(source_ent, CHAN_VOICE, path, 0.50, 2);
Sound_SetZombieGroan(priority, zombie_quiet_groan);
}
break;