]> git.mxchange.org Git - flightgear.git/commitdiff
multiplay manager: option to disable freeze-on-replay feature
authorThorstenB <brehmt@gmail.com>
Sun, 2 Oct 2011 11:23:31 +0000 (13:23 +0200)
committerThorstenB <brehmt@gmail.com>
Sun, 2 Oct 2011 11:23:31 +0000 (13:23 +0200)
src/MultiPlayer/multiplaymgr.cxx

index 271b0acbab3b49b68d09263d25a927c12c2d33f1..060f2863875c86ca5b506b5b0f7b36145f7328af 100644 (file)
@@ -638,7 +638,8 @@ FGMultiplayMgr::SendMyPosition(const FGExternalMotionData& motionInfo)
 
   strncpy(PosMsg->Model, fgGetString("/sim/model/path"), MAX_MODEL_NAME_LEN);
   PosMsg->Model[MAX_MODEL_NAME_LEN - 1] = '\0';
-  if (fgGetBool("/sim/freeze/replay-state", true))
+  if (fgGetBool("/sim/freeze/replay-state", true)&&
+      fgGetBool("/sim/multiplay/freeze-on-replay",true))
   {
       // do not send position updates during replay
       for (unsigned i = 0 ; i < 3; ++i)