]> git.mxchange.org Git - flightgear.git/commitdiff
Remove an unnecessary check. This is done in fgPanelVisible already
authorehofman <ehofman>
Mon, 31 Mar 2003 08:36:49 +0000 (08:36 +0000)
committerehofman <ehofman>
Mon, 31 Mar 2003 08:36:49 +0000 (08:36 +0000)
src/Main/main.cxx

index 86a0303277e57b39548ad03801012359c7afd422..ab2ded38fa7f3929025619fd656ef36ec87cc266 100644 (file)
@@ -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);