]> git.mxchange.org Git - flightgear.git/commit
Allow the second (property node) argument to fgcommand() to be nil or
authorandy <andy>
Thu, 7 Jun 2007 16:17:48 +0000 (16:17 +0000)
committerandy <andy>
Thu, 7 Jun 2007 16:17:48 +0000 (16:17 +0000)
commitb6930477034235a2bbe0c7a6b6b5a5e7c49c29c3
treefa0b6a24f7af0f82eb85c794f40edfc2ab844221
parentb3b87842b15352dcfc6cd3ff6a2c66cda4696d9b
Allow the second (property node) argument to fgcommand() to be nil or
missing, for sanity.  Note that this will pass the resulting NULL
pointer through into the underlying SGCommand handlers, some of which
may be unprepared for it.  So basically this is now yet another way
you can use Nasal to exercise bugs and hose your sim; no biggie.
src/Scripting/NasalSys.cxx