compile fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5065 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2017-02-27 09:53:59 +00:00
parent cf0e8fd923
commit 655c09bd76
3 changed files with 3 additions and 2 deletions

View File

@ -3348,7 +3348,7 @@ static void R_DrawPortal(batch_t *batch, batch_t **blist)
TransformDir(vup, paxis, vaxis, vup);
}
Matrix4x4_CM_ModelViewMatrixFromAxis(r_refdef.m_view, vpn, vright, vup, r_refdef.vieworg);
VectorAngles(vpn, vup, r_refdef.viewangles);
VectorAngles(vpn, vup, r_refdef.viewangles, true);
VectorCopy(r_refdef.vieworg, r_origin);
/*FIXME: the batch stuff should be done in renderscene*/

View File

@ -3350,7 +3350,7 @@ static void R_DrawPortal(batch_t *batch, batch_t **blist)
TransformDir(vup, paxis, vaxis, vup);
}
Matrix4x4_CM_ModelViewMatrixFromAxis(r_refdef.m_view, vpn, vright, vup, r_refdef.vieworg);
VectorAngles(vpn, vup, r_refdef.viewangles);
VectorAngles(vpn, vup, r_refdef.viewangles, true);
VectorCopy(r_refdef.vieworg, r_origin);
/*FIXME: the batch stuff should be done in renderscene*/

View File

@ -360,6 +360,7 @@ typedef struct QCC_type_s
} QCC_type_t;
int typecmp(QCC_type_t *a, QCC_type_t *b);
int typecmp_lax(QCC_type_t *a, QCC_type_t *b);
QCC_type_t *QCC_PR_DuplicateType(QCC_type_t *in, pbool recurse);
typedef struct temp_s temp_t;
void QCC_PurgeTemps(void);