mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-24 16:39:43 +00:00
trivial: remove unused code in nq view.c
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
472ca8b59b
commit
b28c4b86d4
22
NQ/view.c
22
NQ/view.c
@ -875,20 +875,14 @@ V_CalcRefdef(void)
|
||||
|
||||
// fudge position around to keep amount of weapon visible
|
||||
// roughly equal with different FOV
|
||||
|
||||
#if 0
|
||||
if (cl.model_precache[cl.stats[STAT_WEAPON]]
|
||||
&& strcmp(cl.model_precache[cl.stats[STAT_WEAPON]]->name,
|
||||
"progs/v_shot2.mdl"))
|
||||
#endif
|
||||
if (scr_viewsize.value == 110)
|
||||
view->origin[2] += 1;
|
||||
else if (scr_viewsize.value == 100)
|
||||
view->origin[2] += 2;
|
||||
else if (scr_viewsize.value == 90)
|
||||
view->origin[2] += 1;
|
||||
else if (scr_viewsize.value == 80)
|
||||
view->origin[2] += 0.5;
|
||||
if (scr_viewsize.value == 110)
|
||||
view->origin[2] += 1;
|
||||
else if (scr_viewsize.value == 100)
|
||||
view->origin[2] += 2;
|
||||
else if (scr_viewsize.value == 90)
|
||||
view->origin[2] += 1;
|
||||
else if (scr_viewsize.value == 80)
|
||||
view->origin[2] += 0.5;
|
||||
|
||||
view->model = cl.model_precache[cl.stats[STAT_WEAPON]];
|
||||
view->frame = cl.stats[STAT_WEAPONFRAME];
|
||||
|
Loading…
Reference in New Issue
Block a user