From 03bfd829da90577c5d44452bd033b92e59c181c1 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 25 Apr 2009 09:57:06 +0000 Subject: [PATCH] add a bit of comment --- simgear/sound/xmlsound.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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 && -- 2.39.5