cvar_set("volume", ftos(volume_modify_1));\r
cvar_set("bgmvolume", ftos(volume_modify_2));\r
// TODO: Setting the "volume" cvar is a bad way to go, and modifies the menu slider! We need a better way\r
+\r
+ if(!cvar("menu_block_sound_sliders"))\r
+ cvar_set("menu_block_sound_sliders", "1"); // ugly hack to block the sound sliders\r
}\r
else if not(getstati(STAT_VORE_EATEN))\r
{\r
// so if we change the volume settings, update the initial volume\r
volume_modify_default_1 = cvar("volume");\r
volume_modify_default_2 = cvar("bgmvolume");\r
+\r
+ if(cvar("menu_block_sound_sliders"))\r
+ cvar_set("menu_block_sound_sliders", "0"); // ugly hack to block the sound sliders\r
}\r
}\r
+ else if(cvar("menu_block_sound_sliders"))\r
+ cvar_set("menu_block_sound_sliders", "0"); // ugly hack to block the sound sliders\r
\r
// Draw the mouse cursor\r
// NOTE: drawpic must happen after R_RenderScene for some reason\r