made al_referencedistance and al_rollofffactor unconfigurable to prevent players getting an unfair advantage

This commit is contained in:
drian
2021-03-08 16:31:37 +01:00
parent 9dfdae3ba4
commit 162a078ee9
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
#define DEBUGCOND (audiodebug==1)
VAR(al_referencedistance, 0, 400, 1000000);
VAR(al_rollofffactor, 0, 100, 1000000);
int al_referencedistance = 400; // The distance from the source emitting the sound to the listener
int al_rollofffactor = 100; // This value indicates the relative "strength" of a sound (how far away the sound can be heard)
// represents an OpenAL source, an audio emitter in the 3D world