From c4cd754b9109c4aa116f6a2d754aaaa73930aca3 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 18 Jan 2017 11:34:44 +0000 Subject: [PATCH] fix vanilla compat. oops. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5044 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 6 +++--- engine/client/m_options.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 0073f9c7b..ec6e19457 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -4356,7 +4356,7 @@ void CL_ParseStaticProt (int baselinetype) entity_state_t es; vec3_t mins,maxs; - if (baselinetype) + if (baselinetype >= 0) { CL_ParseBaseline(&es, baselinetype); i = cl.num_statics; @@ -6775,7 +6775,7 @@ void CLQW_ParseServerMessage (void) CL_ParseStaticProt (CPNQ_ID); break; case svcfte_spawnstatic2: - CL_ParseStaticProt (0); + CL_ParseStaticProt (-1); break; case svc_temp_entity: #ifdef NQPROT @@ -7645,7 +7645,7 @@ void CLNQ_ParseServerMessage (void) CLFTE_ParseEntities(); break; case svcfte_spawnstatic2: - CL_ParseStaticProt (0); + CL_ParseStaticProt (-1); break; case svcfte_spawnbaseline2: CL_ParseBaselineDelta (); diff --git a/engine/client/m_options.c b/engine/client/m_options.c index 76927a358..26c22e51b 100644 --- a/engine/client/m_options.c +++ b/engine/client/m_options.c @@ -782,6 +782,7 @@ const char *presetexec[] = "seta r_shadow_realtime_dlight 0;" "seta r_shadow_realtime_world 0;" "seta r_glsl_offsetmapping 0;" + "seta vid_hardwaregamma 3;" //people benchmarking against other engines with fte using glsl gamma and the other not is annoying as fuck. // "seta gl_detail 0;" "seta gl_load24bit 0;" "seta r_replacemodels \"\";" @@ -833,6 +834,7 @@ const char *presetexec[] = //these things are perhaps a little extreme "r_loadlit 0;" "r_nolerp 1;" + "seta vid_hardwaregamma 1;" "r_softwarebanding 1;" //ugly software banding. "d_mipcap 0 2;" //gl without anisotropic filtering favours too-distant mips too often, so lets just pretend it doesn't exist. should probably mess with lod instead or something "gl_affinemodels 1;"