Remove an unnecessary check. This is done in fgPanelVisible already
This commit is contained in:
parent
58937e7e6b
commit
891e83809e
1 changed files with 0 additions and 1 deletions
|
@ -1399,7 +1399,6 @@ void fgReshape( int width, int height ) {
|
|||
int view_h;
|
||||
|
||||
if ( (!fgGetBool("/sim/virtual-cockpit"))
|
||||
&& (globals->get_current_panel() != NULL)
|
||||
&& fgPanelVisible() && idle_state == 1000 ) {
|
||||
view_h = (int)(height * (globals->get_current_panel()->getViewHeight() -
|
||||
globals->get_current_panel()->getYOffset()) / 768.0);
|
||||
|
|
Loading…
Reference in a new issue