From 60b4817866940f3b5ac7d3cdd4f5190683bd4c41 Mon Sep 17 00:00:00 2001 From: thilo Date: Sat, 3 Dec 2011 02:23:38 +0000 Subject: [PATCH] Fix net_restart when networking was temporarily disabled git-svn-id: svn://svn.icculus.org/quake3/trunk@2203 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/net_ip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 96bed14..f4cb920 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -1709,6 +1709,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); }