1
0
Fork 0

check for dt <= 0 aka paused sim

This commit is contained in:
torsten 2009-05-20 09:24:56 +00:00 committed by Tim Moore
parent 8e1248e1e1
commit a38d050ddf

View file

@ -142,6 +142,9 @@ void FGRidgeLift::unbind() {
void FGRidgeLift::update(double dt) {
if( dt <= 0 ) // paused, do nothing but keep current lift
return;
if( _enabled_node && false == _enabled_node->getBoolValue() ) {
if( strength != 0.0 ) {
strength = 0.0;