1
0
Fork 0

listeners: do no longer set cmdarg() to avoid interference with embedded Nasal

This commit is contained in:
mfranz 2008-10-12 21:08:44 +00:00
parent 30cf69fe6d
commit e8738eca19

View file

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