]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable focus sound for the playerlist, because it is not an interactive item
authorSeverin Meyer <sev.ch@web.de>
Fri, 23 Jan 2015 21:38:57 +0000 (22:38 +0100)
committerSeverin Meyer <sev.ch@web.de>
Fri, 23 Jan 2015 21:38:57 +0000 (22:38 +0100)
qcsrc/menu/xonotic/playerlist.c

index b3ee38670a04ad41117b82f3db7c0b2ee780b974..5579394ea7913cc39e917de99571b3489769ca7e 100644 (file)
@@ -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)