From 9f9d2f934a8081b09058828122e5f536a4913f8e Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Sat, 29 Dec 2007 21:51:39 +0000
Subject: [PATCH] Return the --fov= to it's original functionality.

---
 src/Main/options.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Main/options.cxx b/src/Main/options.cxx
index 73af0ebc5..50c104b02 100644
--- a/src/Main/options.cxx
+++ b/src/Main/options.cxx
@@ -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);