diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index 84429c700..a37c40b35 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -1023,6 +1023,7 @@ void FGNasalListener::valueChanged(SGPropertyNode* node) if(_type < 2 && node != _node) return; // skip child events if(_type > 0 || changed(_node) || _first_call) call(node, naNum(0)); + if(_type == -1) abort(); _first_call = false; }