]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewmgr.cxx
Remove hard-coded values wherever possible;
[flightgear.git] / src / Main / viewmgr.cxx
index 9555291897a5fd17b11d602de7cbc5b7ff4a4cf2..bced660b5b3c274e9414583ce646ee611fd20782 100644 (file)
@@ -288,7 +288,7 @@ FGViewMgr::unbind ()
   fgUntie("/sim/current-view/viewer-y-m");
   fgUntie("/sim/current-view/viewer-z-m");
 
-  list<const char*>::const_iterator it;
+  std::list<const char*>::const_iterator it;
   for (it = tied_props.begin(); it != tied_props.end(); it++){
     fgUntie(*it);
   }
@@ -356,7 +356,7 @@ FGViewMgr::update (double dt)
   abs_viewer_position = loop_view->getViewPosition();
 
   // update audio listener values
-  // set the viewer posotion in Cartesian coordinates in meters
+  // set the viewer position in Cartesian coordinates in meters
   smgr->set_position( abs_viewer_position, loop_view->getPosition() );
   smgr->set_orientation( current_view_orientation );