]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
Call cvar callbacks after the cvar is set. Potentially fixes heap corruption.
[xonotic/darkplaces.git] / netconn.h
index 9e568af178f84c8cfd75b1bf2d87e374fdc7b102..8e3cdab3d5914bc49d19fe5d7bc91ff5d8e66750 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -470,7 +470,7 @@ void ServerList_ResetMasks(void);
 void ServerList_QueryList(qboolean resetcache, qboolean querydp, qboolean queryqw, qboolean consoleoutput);
 
 /// called whenever net_slist_favorites changes
-void NetConn_UpdateFavorites_c(char *string);
+void NetConn_UpdateFavorites_c(cvar_t *var);
 #endif
 
 #define MAX_CHALLENGES 128