attempt to see if this fixes out of synch
This commit is contained in:
parent
a94787654d
commit
a0b87ba7eb
|
@ -389,8 +389,9 @@ void FactionThread::execute() {
|
||||||
else {
|
else {
|
||||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugWorldSynch).enabled == true) {
|
if(SystemFlags::getSystemSettingType(SystemFlags::debugWorldSynch).enabled == true) {
|
||||||
float updateProgressValue = unit->getUpdateProgress();
|
float updateProgressValue = unit->getUpdateProgress();
|
||||||
|
int speed = unit->getCurrSkill()->getTotalSpeed(unit->getTotalUpgrade());
|
||||||
char szBuf[8096]="";
|
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);
|
unit->logSynchDataThreaded(__FILE__,__LINE__,szBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user