]> git.mxchange.org Git - flightgear.git/commitdiff
listeners: do no longer set cmdarg() to avoid interference with embedded Nasal
authormfranz <mfranz>
Sun, 12 Oct 2008 21:08:44 +0000 (21:08 +0000)
committermfranz <mfranz>
Sun, 12 Oct 2008 21:08:44 +0000 (21:08 +0000)
src/Scripting/NasalSys.cxx

index 86a555fc45b0e261b9dffc5f04d5766ebf69c0a1..af589ff3f3581f295c2cdba988b506c87e8f6e14 100644 (file)
@@ -1022,7 +1022,6 @@ void FGNasalListener::call(SGPropertyNode* which, naRef mode)
     arg[1] = _nas->propNodeGhost(_node);
     arg[2] = mode;                  // value changed, child added/removed
     arg[3] = naNum(_node != which); // child event?
-    _nas->_cmdArg = _node;
     _nas->call(_code, 4, arg, naNil());
     _active--;
 }