attempt to see if this fixes out of synch

This commit is contained in:
Mark Vejvoda 2013-05-23 23:55:28 +00:00
parent a94787654d
commit a0b87ba7eb
1 changed files with 2 additions and 1 deletions

View File

@ -389,8 +389,9 @@ void FactionThread::execute() {
else {
if(SystemFlags::getSystemSettingType(SystemFlags::debugWorldSynch).enabled == true) {
float updateProgressValue = unit->getUpdateProgress();
int speed = unit->getCurrSkill()->getTotalSpeed(unit->getTotalUpgrade());
char szBuf[8096]="";
snprintf(szBuf,8096,"unit->needToUpdate() returned: %d updateProgressValue: %f",update,updateProgressValue);
snprintf(szBuf,8096,"unit->needToUpdate() returned: %d updateProgressValue: %f speed = %d",update,updateProgressValue,speed);
unit->logSynchDataThreaded(__FILE__,__LINE__,szBuf);
}