mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
OpenGL2: Don't draw viewmodels in portal views.
Thanks Cyrax for pointing out, should fix https://bugzilla.icculus.org/show_bug.cgi?id=6363.
This commit is contained in:
parent
2349ef038e
commit
93066d2e05
1 changed files with 2 additions and 2 deletions
|
@ -1333,8 +1333,8 @@ qboolean R_MirrorViewBySurface (drawSurf_t *drawSurf, int entityNum) {
|
|||
return qfalse; // bad portal, no portalentity
|
||||
}
|
||||
|
||||
if (newParms.isMirror)
|
||||
newParms.flags |= VPF_NOVIEWMODEL;
|
||||
// Never draw viewmodels in portal or mirror views.
|
||||
newParms.flags |= VPF_NOVIEWMODEL;
|
||||
|
||||
R_MirrorPoint (oldParms.or.origin, &surface, &camera, newParms.or.origin );
|
||||
|
||||
|
|
Loading…
Reference in a new issue