A small consistancy fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1578 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9e89e2273a
commit
ae6390c7a0
1 changed files with 71 additions and 63 deletions
|
@ -982,6 +982,7 @@ typedef enum
|
|||
VF_DRAWWORLD = 19,
|
||||
VF_ENGINESBAR = 20,
|
||||
VF_DRAWCROSSHAIR = 21,
|
||||
VF_CARTESIAN_ANGLES = 22,
|
||||
VF_PERSPECTIVE = 200
|
||||
} viewflags;
|
||||
|
||||
|
@ -1027,6 +1028,10 @@ static void PF_R_SetViewFlag(progfuncs_t *prinst, struct globalvars_s *pr_global
|
|||
r_refdef.viewangles[parametertype-VF_ANGLES_X] = *p;
|
||||
break;
|
||||
|
||||
case VF_CARTESIAN_ANGLES:
|
||||
Con_Printf("^1WARNING: CARTESIAN ANGLES ARE NOT YET SUPPORTED!\n");
|
||||
break;
|
||||
|
||||
case VF_VIEWPORT:
|
||||
r_refdef.vrect.x = p[0];
|
||||
r_refdef.vrect.y = p[1];
|
||||
|
@ -2569,6 +2574,9 @@ void PF_rotatevectorsbytag (progfuncs_t *prinst, struct globalvars_s *pr_globals
|
|||
float dest[12];
|
||||
int i;
|
||||
|
||||
if (lerp < 0) lerp = 0;
|
||||
if (lerp > 1) lerp = 1;
|
||||
|
||||
if (Mod_GetTag)
|
||||
if (Mod_GetTag(mod, tagnum, frame1, frame2, lerp, frame1time, frame2time, transforms))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue