about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-11-17 12:43:24 +0100
committeroy <Tom_Adams@web.de>2010-11-17 12:43:24 +0100
commitf1ce0d1949a7197a292f5376e3109162cc639390 (patch)
tree7cebdda81da1879de10ac044bb1708de1e71311b /src/engine/client
parenta7f37446b62630d751ea7edd5b4a396385887869 (diff)
downloadzcatch-f1ce0d1949a7197a292f5376e3109162cc639390.tar.gz
zcatch-f1ce0d1949a7197a292f5376e3109162cc639390.zip
improved loading progression in the server browser
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/srvbrowse.cpp4
-rw-r--r--src/engine/client/srvbrowse.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/client/srvbrowse.cpp b/src/engine/client/srvbrowse.cpp
index 5835bb3b..cb91477d 100644
--- a/src/engine/client/srvbrowse.cpp
+++ b/src/engine/client/srvbrowse.cpp
@@ -707,6 +707,10 @@ void CServerBrowser::RemoveFavorite(const NETADDR &Addr)
 	}
 }
 
+bool CServerBrowser::IsRefreshing() const
+{
+	return m_pFirstReqServer != 0;
+}
 
 bool CServerBrowser::IsRefreshingMasters() const
 {
diff --git a/src/engine/client/srvbrowse.h b/src/engine/client/srvbrowse.h
index ebcdbb30..20e8bd46 100644
--- a/src/engine/client/srvbrowse.h
+++ b/src/engine/client/srvbrowse.h
@@ -29,6 +29,7 @@ public:
 
 	// interface functions
 	void Refresh(int Type);
+	bool IsRefreshing() const;
 	bool IsRefreshingMasters() const;
 	int LoadingProgression() const;