From: ehofman Date: Sat, 25 Apr 2009 09:57:06 +0000 (+0000) Subject: add a bit of comment X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=03bfd829da90577c5d44452bd033b92e59c181c1;p=simgear.git add a bit of comment --- diff --git a/simgear/sound/xmlsound.cxx b/simgear/sound/xmlsound.cxx index 47438603..2db0fcff 100644 --- a/simgear/sound/xmlsound.cxx +++ b/simgear/sound/xmlsound.cxx @@ -297,6 +297,11 @@ SGXmlSound::update (double dt) if (_property) curr_value = _property->getDoubleValue(); + // If a condition is defined, test whether it is FALSE, + // else + // if a property is defined then test if it's value is FALSE + // or if the mode is IN_TRANSIT then + // test whether the current value matches the previous value. if ( // Lisp, anyone? (_condition && !_condition->test()) || (!_condition && _property &&