]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scripting/nasal-props.cxx
#545: Fix ATC chatter sound settings being ignored
[flightgear.git] / src / Scripting / nasal-props.cxx
index 15a3016f3f31c9f1669625100132fe543d6c053a..0233b69ddada6eb8a4ee02a4168f82cf904105ee 100644 (file)
@@ -174,7 +174,7 @@ static naRef f_getValue(naContext c, naRef me, int argc, naRef* args)
     {
         double dv = (*node)->getDoubleValue();
         if (osg::isNaN(dv)) {
-          SG_LOG(SG_GENERAL, SG_ALERT, "Nasal getValue: property " << (*node)->getPath() << " is NaN");
+          SG_LOG(SG_NASAL, SG_ALERT, "Nasal getValue: property " << (*node)->getPath() << " is NaN");
           return naNil();
         }