Try to handle hl2bsp's area portals.

This commit is contained in:
Shpoike 2021-04-26 00:12:55 +01:00
parent e470cc5033
commit 6658565956
1 changed files with 5 additions and 0 deletions

View File

@ -726,6 +726,11 @@ static void R_RenderScene_Internal(void)
TRACE(("dbg: calling R_RenderDlights\n"));
R_RenderDlights ();
#ifdef HL2BSPS
if (cl.worldmodel->fromgame == fg_halflife2)
CModHL2_DrawAreaPortals(cl.worldmodel);
#endif
if (r_refdef.recurse)
RQ_RenderBatch();
else