]> git.mxchange.org Git - flightgear.git/commitdiff
Turned out a tied proeprty can't be used as a user archive, use a different one
authorehofman <ehofman>
Tue, 1 Dec 2009 10:37:49 +0000 (10:37 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 1 Dec 2009 18:12:56 +0000 (19:12 +0100)
src/Main/main.cxx

index ca63accb200f46d362668285efe4cf77c1460d53..330ef0a5aac4025269dfe680911467498aa0614f 100644 (file)
@@ -511,7 +511,8 @@ static void fgMainLoop( void ) {
         } else {
             smgr->stop();
         }
-        globals->get_props()->tie("/sim/sound/device", SGRawValueFunctions<const char *>(0, fgSetNewSoundDevice), false);
+        globals->get_props()->tie("/sim/sound/devices/name",
+              SGRawValueFunctions<const char *>(0, fgSetNewSoundDevice), false);
     }
 
     fgRequestRedraw();