[ioquake3] 44/50: Move CON_Init ahead of Com_Init to avoid Windows dedicated server crash

Simon McVittie smcv at debian.org
Sun Jul 23 21:55:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit fa1549d4576c562600f16b0fdd1300812727fadd
Author: Noah Metzger <chomenor at gmail.com>
Date:   Fri Jul 14 08:23:38 2017 -0500

    Move CON_Init ahead of Com_Init to avoid Windows dedicated server crash
---
 code/sys/sys_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c
index fc1ff4a..586e37a 100644
--- a/code/sys/sys_main.c
+++ b/code/sys/sys_main.c
@@ -744,11 +744,10 @@ int main( int argc, char **argv )
 		Q_strcat( commandLine, sizeof( commandLine ), " " );
 	}
 
+	CON_Init( );
 	Com_Init( commandLine );
 	NET_Init( );
 
-	CON_Init( );
-
 	signal( SIGILL, Sys_SigHandler );
 	signal( SIGFPE, Sys_SigHandler );
 	signal( SIGSEGV, Sys_SigHandler );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list