r5849 - in trunk/data: . qcsrc/menu/nexuiz

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Feb 12 02:14:31 EST 2009


Author: div0
Date: 2009-02-12 02:14:31 -0500 (Thu, 12 Feb 2009)
New Revision: 5849

Modified:
   trunk/data/defaultNexuiz.cfg
   trunk/data/qcsrc/menu/nexuiz/dialog_settings_audio.c
Log:
turn off autotaunts by default; make sure the checkbox will set them to 0.65 if they were off.


Modified: trunk/data/defaultNexuiz.cfg
===================================================================
--- trunk/data/defaultNexuiz.cfg	2009-02-11 23:18:32 UTC (rev 5848)
+++ trunk/data/defaultNexuiz.cfg	2009-02-12 07:14:31 UTC (rev 5849)
@@ -226,7 +226,7 @@
 cl_autodemo_nameformat demos/%Y-%m-%d_%H-%M
 
 // taunts and voices
-seta cl_autotaunt 0.65
+seta cl_autotaunt 0
 seta cl_voice_directional 1	"0 = all voices are non-directional, 1 = all voices are directional, 2 = only taunts are directional"
 seta cl_voice_directional_taunt_attenuation 0.5
 

Modified: trunk/data/qcsrc/menu/nexuiz/dialog_settings_audio.c
===================================================================
--- trunk/data/qcsrc/menu/nexuiz/dialog_settings_audio.c	2009-02-11 23:18:32 UTC (rev 5848)
+++ trunk/data/qcsrc/menu/nexuiz/dialog_settings_audio.c	2009-02-12 07:14:31 UTC (rev 5849)
@@ -147,6 +147,7 @@
 	me.TR(me);
 		sl = makeNexuizSlider(0.15, 1, 0.05, "cl_autotaunt");
 			sl.valueDisplayMultiplier = 100;
+			sl.valueDigits = 0;
 		me.TD(me, 1, 1, e = makeNexuizSliderCheckBox(0, 1, sl, "Automatic taunts"));
 		if(sl.value != e.savedValue)
 			e.savedValue = 0.65; // default




More information about the nexuiz-commits mailing list