]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpdefs/menudefs.qc
Allow refreshserverlist() to also clear the list like net_slist command.
[xonotic/darkplaces.git] / dpdefs / menudefs.qc
index 4885f2916c70641ca7488b9fedd016fa7e144551..ae51fb0202de0b1df8a43f92e74e1669354a7cc8 100644 (file)
@@ -562,7 +562,7 @@ void        sethostcachemaskstring(float mask, float fld, string str, float op) = #616
 void   sethostcachemasknumber(float mask, float fld, float num, float op) = #617;
 void   resorthostcache(void) = #618;
 void   sethostcachesort(float fld, float descending) = #619;
-void   refreshhostcache(void) = #620;
+void   refreshhostcache(...) = #620;  // optional boolean argument "clear_list"
 float  gethostcachenumber(float fld, float hostnr) = #621;
 float  gethostcacheindexforkey(string key) = #622;
 void   addwantedhostcachekey(string key) = #623;