Squashed all FOV bugs as of now

This commit is contained in:
Tyler Young 2023-01-02 23:46:40 -05:00
parent 634b9a7dd4
commit 7bfc528640
4 changed files with 7 additions and 7 deletions

View file

@ -1988,8 +1988,8 @@ void SCR_UpdateScreen (void)
}
if(scr_dynamic_fov.value == 0) //sB add dynamic FOV toggle
{
original_fov = 0;
original_view_fov = 0;
Cvar_SetValue ("fov", scr_fov.value);
Cvar_SetValue ("r_viewmodel_fov", scr_fov_viewmodel.value);
}
else if(scr_dynamic_fov.value == 1)
{

View file

@ -704,7 +704,7 @@ void R_SetupAliasLighting (entity_t *e)
lightcolor[2] = 256.0f;
}
// motolegacy -- re-instate EF_FULLBRIGHT support
// motolegacy -- re-te EF_FULLBRIGHT support
// TODO: potentially just block dlights from colorizing
if (e->effects & EF_FULLBRIGHT) {
lightcolor[0] = 96.0f;

View file

@ -1676,11 +1676,11 @@ void SV_Physics (void)
//
ent = sv.edicts;
if (sv_freezenonclients.value)
/* if (sv_freezenonclients.value)
entity_cap = svs.maxclients + 1; // Only run physics on clients and the world
else
entity_cap = sv.num_edicts;
*/
for (i=0 ; i<sv.num_edicts ; i++, ent = NEXT_EDICT(ent))
//for (i=0 ; i<entity_cap ; i++, ent = NEXT_EDICT(ent))
{

View file

@ -1681,8 +1681,8 @@ void SV_Physics (void)
else
entity_cap = sv.num_edicts;
//for (i=0 ; i<sv.num_edicts ; i++, ent = NEXT_EDICT(ent))
for (i=0 ; i<entity_cap ; i++, ent = NEXT_EDICT(ent))
for (i=0 ; i<sv.num_edicts ; i++, ent = NEXT_EDICT(ent))
//for (i=0 ; i<entity_cap ; i++, ent = NEXT_EDICT(ent))
{
if (ent->free)
continue;