This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.42d in repository iortcw.
commit 5f7dc416e918a7597d3364d7c69d0c4ecd1502fb Author: zturtle...@gmail.com <zturtle...@gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a> Date: Sun May 4 00:19:32 2014 +0000 MP: if vm_xxx 0 don't load cgame qvm on pure servers --- MP/code/client/cl_cgame.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/MP/code/client/cl_cgame.c b/MP/code/client/cl_cgame.c index 6a1f8b7..b36f162 100644 --- a/MP/code/client/cl_cgame.c +++ b/MP/code/client/cl_cgame.c @@ -1015,7 +1015,6 @@ void CL_InitCGame( void ) { const char *info; const char *mapname; int t1, t2; - vmInterpret_t interpret; t1 = Sys_Milliseconds(); @@ -1028,15 +1027,7 @@ void CL_InitCGame( void ) { Com_sprintf( cl.mapname, sizeof( cl.mapname ), "maps/%s.bsp", mapname ); // load the dll or bytecode - interpret = Cvar_VariableValue("vm_cgame"); - if(cl_connectedToPureServer) - { - // if sv_pure is set we only allow qvms to be loaded - if(interpret != VMI_COMPILED && interpret != VMI_BYTECODE) - interpret = VMI_COMPILED; - } - - cgvm = VM_Create( "cgame", CL_CgameSystemCalls, interpret ); + cgvm = VM_Create( "cgame", CL_CgameSystemCalls, Cvar_VariableValue("vm_cgame") ); if ( !cgvm ) { Com_Error( ERR_DROP, "VM_Create on cgame failed" ); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits