VGUI3DView: only setproperty VF_DRAWWORLD when MENU is not defined.
This commit is contained in:
parent
2a6571e33b
commit
9b9988232f
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue