mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:50:42 +02:00
removing unused counter variable
This commit is contained in:
parent
63ad85215b
commit
2267085dbf
1 changed files with 0 additions and 3 deletions
|
@ -6571,7 +6571,6 @@ bool Application::nearbyEntitiesAreReadyForPhysics() {
|
||||||
_nearbyEntitiesCountAtLastPhysicsCheck = nearbyCount;
|
_nearbyEntitiesCountAtLastPhysicsCheck = nearbyCount;
|
||||||
|
|
||||||
const uint32_t MINIMUM_NEARBY_ENTITIES_STABILITY_COUNT = 3;
|
const uint32_t MINIMUM_NEARBY_ENTITIES_STABILITY_COUNT = 3;
|
||||||
uint32_t readyNearbyEntities = 0;
|
|
||||||
if (_nearbyEntitiesStabilityCount >= MINIMUM_NEARBY_ENTITIES_STABILITY_COUNT) {
|
if (_nearbyEntitiesStabilityCount >= MINIMUM_NEARBY_ENTITIES_STABILITY_COUNT) {
|
||||||
// We've seen the same number of nearby entities for several stats packets in a row. assume we've got all
|
// We've seen the same number of nearby entities for several stats packets in a row. assume we've got all
|
||||||
// the local entities.
|
// the local entities.
|
||||||
|
@ -6581,8 +6580,6 @@ bool Application::nearbyEntitiesAreReadyForPhysics() {
|
||||||
HIFI_FCDEBUG(interfaceapp(), "Physics disabled until entity loads: " << entity->getID() << entity->getName());
|
HIFI_FCDEBUG(interfaceapp(), "Physics disabled until entity loads: " << entity->getID() << entity->getName());
|
||||||
// don't break here because we want all the relevant entities to start their downloads
|
// don't break here because we want all the relevant entities to start their downloads
|
||||||
result = false;
|
result = false;
|
||||||
} else {
|
|
||||||
readyNearbyEntities++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue