]> git.mxchange.org Git - flightgear.git/commitdiff
Return the --fov= to it's original functionality.
authorcurt <curt>
Sat, 29 Dec 2007 21:51:39 +0000 (21:51 +0000)
committercurt <curt>
Sat, 29 Dec 2007 21:51:39 +0000 (21:51 +0000)
src/Main/options.cxx

index 73af0ebc508c81823a040f86ed801a50f6569824..50c104b02d69e0122eecb462e68af166d68b355e 100644 (file)
@@ -494,7 +494,7 @@ parse_fov( const string& arg ) {
     if ( fov < FG_FOV_MIN ) { fov = FG_FOV_MIN; }
     if ( fov > FG_FOV_MAX ) { fov = FG_FOV_MAX; }
 
-    fgSetDouble("/sim/current-view/field-of-view", fov);
+    fgSetDouble("/sim/view[0]/config/default-field-of-view-deg", fov);
 
     // printf("parse_fov(): result = %.4f\n", fov);