1
0
forked from mirrors/0ad

Lower rolloff so that players that play from very high still hear sound.

Reported by: @ValihrAnt,  @Feldfeld
Discussed with: @Samulis
Refs: https://code.wildfiregames.com/D3108 / 876f6d5e50

This was SVN commit r24712.
This commit is contained in:
Stan
2021-01-19 22:40:56 +00:00
parent 7c3e885cef
commit 19eb21b647
+3 -3
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -39,8 +39,8 @@ extern CGame *g_Game;
#if CONFIG2_AUDIO
constexpr ALfloat DEFAULT_ROLLOFF = 0.7f;
constexpr ALfloat MAX_ROLLOFF = 0.9f;
constexpr ALfloat DEFAULT_ROLLOFF = 0.5f;
constexpr ALfloat MAX_ROLLOFF = 0.7f;
/**
* Low randomness, quite-a-lot-faster-than-std::mt19937 random number generator.