fix vanilla compat. oops.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5044 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-01-18 11:34:44 +00:00
parent 15a2038e4e
commit c4cd754b91
2 changed files with 5 additions and 3 deletions

View File

@ -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 ();

View File

@ -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;"