From 891e83809e94a36b557a6bf3d120006cb6aa73d4 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 31 Mar 2003 08:36:49 +0000 Subject: [PATCH] Remove an unnecessary check. This is done in fgPanelVisible already --- src/Main/main.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 86a030327..ab2ded38f 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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);