else\r
{\r
if(me.cvarName == "menu_bgmvolume")\r
- me.value = 0.1 * floor(0.5 + 10.0 * log10(cvar(me.cvarName) * 2) * 10); // due to system settings, overall music volume must be twice as low\r
+ me.value = 0.1 * floor(0.5 + 10.0 * log10(v * 2) * 10); // due to system settings, overall music volume must be twice as low\r
else\r
- me.value = 0.1 * floor(0.5 + 10.0 * log10(cvar(me.cvarName)) * 10);\r
+ me.value = 0.1 * floor(0.5 + 10.0 * log10(v) * 10);\r
}\r
}\r
void saveCvarsVoretDecibelsSlider(entity me)\r