1
0
Fork 0

Remove an unnecessary check. This is done in fgPanelVisible already

This commit is contained in:
ehofman 2003-03-31 08:36:49 +00:00
parent 58937e7e6b
commit 891e83809e

View 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);