ravor
June 17, 2021, 8:18pm
1
Does anyone know what this may be about?
Every now and then it sends such a list to the console.
This is a leftover of debug code used when OneSync was in active developing. Nothing to worry about, you can just ignore it. It’s going to be removed soon.
(hasSpdn) ? secPosDataNode->m_posZ :
(hasPspdn) ? playerSecPosDataNode->m_posZ :
(hasOspdn) ? objectSecPosDataNode->m_posZ :
(hasPspmdn) ? pedSecPosMapDataNode->m_posZ :
(hasWpdn) ? projectileDataNode->m_posZ :
(hasHpn) ? herdPosNode->m_posZ :
0.0f;
if (sectorPosX == 0.0f && sectorPosY == 0.0f && sectorPosZ == 0.0f)
{
trace("warning | %d %d %d\n", sectorX, sectorY, sectorZ);
}
posOut[0] = ((sectorX - 512.0f) * 54.0f) + sectorPosX;
posOut[1] = ((sectorY - 512.0f) * 54.0f) + sectorPosY;
posOut[2] = ((sectorZ * 69.0f) + sectorPosZ) - 1700.0f;
/*
if (hasDoor)
{
posOut[0] = doorCreationDataNode->m_posX;
Fixed door position parsing and removed debug code line in this commit
committed 07:35AM - 30 Jun 21 UTC