Hi,

this effect is caused by the
   globals->set_sim_time_sec( 0.0 );
call when resetting. After this the stored time offset "mTimeOffset" in AIMultiplayer.cxx is wrong and it needs much time this offset is corrected. I don't know, why this bug is only visible in windows (at least it is not reported for other os).

Please find enclosed a patch for AIMultiplayer.cxx, which detects and corrects large time offsets. (I only tested it very shortly, but i t seems to work (at least as a workaround)).

Maik


Maik Justus wrote:
Hi,
Maik Justus wrote:
Hi,
Maik Justus wrote:
After choosing "Reset" in the File menu, all multiplayer aircrafts stop moving.
after some time the multiplayer aircrafts start moving again. I am not sure, but I could be, that this "some time" is about the duration of the last session (time since the prior reset resp. starting of flightgear to the reset).


Attachment: AIMultiplayer.diff.gz
Description: application/gzip

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to