Merge branch 'curt/replay' into next
This commit is contained in:
commit
b587400846
1 changed files with 6 additions and 6 deletions
|
@ -142,7 +142,7 @@ void FGReplay::update( double dt ) {
|
|||
timingInfo.clear();
|
||||
stamp("begin");
|
||||
static SGPropertyNode *replay_master
|
||||
= fgGetNode( "/sim/freeze/replay", true );
|
||||
= fgGetNode( "/sim/freeze/replay-state", true );
|
||||
|
||||
if( disable_replay->getBoolValue() ) {
|
||||
if ( sim_time != 0.0 ) {
|
||||
|
@ -152,7 +152,7 @@ void FGReplay::update( double dt ) {
|
|||
return;
|
||||
}
|
||||
//stamp("point_01");
|
||||
if ( replay_master->getBoolValue() ) {
|
||||
if ( replay_master->getIntValue() > 0 ) {
|
||||
// don't record the replay session
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue