VGUI3DView: only setproperty VF_DRAWWORLD when MENU is not defined.

This commit is contained in:
Marco Cawthorne 2024-03-11 20:59:06 -07:00
parent 2a6571e33b
commit 9b9988232f
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 2 additions and 0 deletions

View File

@ -114,7 +114,9 @@ VGUI3DView::Draw(void)
setproperty(VF_AFOV, 90);
setproperty(VF_ORIGIN, m_vec3DPos);
setproperty(VF_ANGLES, m_vec3DAngles);
#ifndef MENU
setproperty(VF_DRAWWORLD, false);
#endif
tmpVGUI3DView1();
renderscene();
}