From: Richard V. <rt...@us...> - 2007-09-11 13:39:49
|
Update of /cvsroot/playerstage/code/stage/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20450/src Modified Files: p_driver.cc Log Message: applied player driver timing fix from Alex Brooks Index: p_driver.cc =================================================================== RCS file: /cvsroot/playerstage/code/stage/src/p_driver.cc,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** p_driver.cc 11 Sep 2007 01:14:19 -0000 1.41 --- p_driver.cc 11 Sep 2007 20:39:51 -0000 1.42 *************** *** 616,620 **** GlobalTime->GetTimeDouble(&currtime); if((currtime - interface->last_publish_time) >= ! (interface->mod->world->sim_interval / 1e3)) { interface->Publish(); --- 616,620 ---- GlobalTime->GetTimeDouble(&currtime); if((currtime - interface->last_publish_time) >= ! (interface->mod->world->sim_interval / 1e3 - 1e-9)) { interface->Publish(); |