mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
Squashed all FOV bugs as of now
This commit is contained in:
parent
634b9a7dd4
commit
7bfc528640
4 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue