From: Severin Meyer Date: Fri, 23 Jan 2015 21:38:57 +0000 (+0100) Subject: Disable focus sound for the playerlist, because it is not an interactive item X-Git-Tag: xonotic-v0.8.1~147^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=425b2f00ecad72204ef27f7214d15e1a360ffbee;p=xonotic%2Fxonotic-data.pk3dir.git Disable focus sound for the playerlist, because it is not an interactive item --- diff --git a/qcsrc/menu/xonotic/playerlist.c b/qcsrc/menu/xonotic/playerlist.c index b3ee38670..5579394ea 100644 --- a/qcsrc/menu/xonotic/playerlist.c +++ b/qcsrc/menu/xonotic/playerlist.c @@ -3,6 +3,7 @@ CLASS(XonoticPlayerList) EXTENDS(XonoticListBox) ATTRIB(XonoticPlayerList, rowsPerItem, float, 1) METHOD(XonoticPlayerList, resizeNotify, void(entity, vector, vector, vector, vector)) METHOD(XonoticPlayerList, drawListBoxItem, void(entity, float, vector, float)) + ATTRIB(XonoticPlayerList, allowFocusSound, float, 0) ATTRIB(XonoticPlayerList, realFontSize, vector, '0 0 0') ATTRIB(XonoticPlayerList, columnNameOrigin, float, 0) ATTRIB(XonoticPlayerList, columnNameSize, float, 0)