summaryrefslogtreecommitdiff
path: root/src/qcommon/net_ip.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-12-03 02:23:38 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:14:00 +0000
commitf70eeadabb70a1f3b4865071aff54e1d62de0bc1 (patch)
treec09c3777e5762c8aa576f4bb04fc57996b1978b1 /src/qcommon/net_ip.c
parente8c9a727b8a694d258f9e6b7aad666677a596247 (diff)
Fix net_restart when networking was temporarily disabled
Diffstat (limited to 'src/qcommon/net_ip.c')
-rw-r--r--src/qcommon/net_ip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c
index 815b004c..10d308f5 100644
--- a/src/qcommon/net_ip.c
+++ b/src/qcommon/net_ip.c
@@ -1706,6 +1706,7 @@ void NET_Sleep(int msec)
NET_Restart_f
====================
*/
-void NET_Restart_f( void ) {
- NET_Config( networkingEnabled );
+void NET_Restart_f(void)
+{
+ NET_Config(qtrue);
}