projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf3575
)
Disable Bookmark button if there are no server
author
terencehill <piuntn@gmail.com>
Tue, 8 Feb 2011 14:46:55 +0000
(15:46 +0100)
committer
terencehill <piuntn@gmail.com>
Tue, 8 Feb 2011 14:46:55 +0000
(15:46 +0100)
qcsrc/menu/xonotic/serverlist.c
patch
|
blob
|
history
diff --git
a/qcsrc/menu/xonotic/serverlist.c
b/qcsrc/menu/xonotic/serverlist.c
index d1055f0498f75ac6c06132c6c84fb4eed2fee232..e6d7a902d50bc506f60508dcb11c01c0495cac2f 100644
(file)
--- a/
qcsrc/menu/xonotic/serverlist.c
+++ b/
qcsrc/menu/xonotic/serverlist.c
@@
-315,7
+315,7
@@
void XonoticServerList_draw(entity me)
me.nItems = gethostcachevalue(SLIST_HOSTCACHEVIEWCOUNT);
me.connectButton.disabled = ((me.nItems == 0) && (me.ipAddressBox.text == ""));
- me.infoButton.disabled = ((me.nItems == 0) || !owned);
+ me.infoButton.disabled =
me.favoriteButton.disabled =
((me.nItems == 0) || !owned);
found = 0;
if(me.selectedServer)