1
0
Fork 0

Warning fix: unused variables

This commit is contained in:
Torsten Dreyer 2010-11-26 16:14:43 +01:00
parent 793fee679e
commit f33d26d51c

View file

@ -78,12 +78,12 @@ void HUD::Runway::draw()
float modelView[4][4], projMat[4][4]; float modelView[4][4], projMat[4][4];
bool anyLines; bool anyLines;
//Get the current view //Get the current view
FGViewer* curr_view = globals->get_viewmgr()->get_current_view(); // FGViewer* curr_view = globals->get_viewmgr()->get_current_view();
int curr_view_id = globals->get_viewmgr()->get_current(); // int curr_view_id = globals->get_viewmgr()->get_current();
double gpo = curr_view->getGoalPitchOffset_deg(); // double gpo = curr_view->getGoalPitchOffset_deg();
double gho = curr_view->getGoalHeadingOffset_deg(); // double gho = curr_view->getGoalHeadingOffset_deg();
double po = curr_view->getPitchOffset_deg(); // double po = curr_view->getPitchOffset_deg();
double ho = curr_view->getHeadingOffset_deg(); // double ho = curr_view->getHeadingOffset_deg();
FGViewer* cockpitView = globals->get_viewmgr()->get_view(0); FGViewer* cockpitView = globals->get_viewmgr()->get_view(0);