]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Reverting announcer queue default to 2 seconds
authorz411 <z411@omaera.org>
Sat, 12 Nov 2022 04:43:24 +0000 (01:43 -0300)
committerz411 <z411@omaera.org>
Sat, 12 Nov 2022 04:58:42 +0000 (01:58 -0300)
Most announcers are longer than 2 seconds because most of them
have around 500ms of silence at the beginning. Using soundlength
actually makes them wait longer than they should. 2 seconds
seems like a better default for most announcers and it's more
consistent.

qcsrc/common/notifications/all.inc

index a010881152466ef640d3109ba7e05c6a069057c4..0438293cc2b8b99ea246e3608719fbf25caed28a 100644 (file)
 // 0 = use the announcer sound length
 // >0 = use the specified time in seconds
 #define ANNCE_INSTANT -1
-#define ANNCE_DEFTIME 0
+#define ANNCE_LENGTH 0
+#define ANNCE_DEFTIME 2
 
 #define MULTITEAM_ANNCE(prefix, defaultvalue, sound, channel, volume, position) \
     NOTIF_ADD_AUTOCVAR(ANNCE_##prefix, defaultvalue) \