mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:08:00 +02:00
Do not use boolean for variable definitions. Use bool instead.
This commit is contained in:
parent
c039d20304
commit
59833d8f28
1 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@ void PhysicalEntitySimulation::getObjectsToChange(VectorOfMotionStates& result)
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhysicalEntitySimulation::handleDeactivatedMotionStates(const VectorOfMotionStates& motionStates) {
|
void PhysicalEntitySimulation::handleDeactivatedMotionStates(const VectorOfMotionStates& motionStates) {
|
||||||
boolean serverlessMode = getEntityTree()->isServerlessMode();
|
bool serverlessMode = getEntityTree()->isServerlessMode();
|
||||||
for (auto stateItr : motionStates) {
|
for (auto stateItr : motionStates) {
|
||||||
ObjectMotionState* state = &(*stateItr);
|
ObjectMotionState* state = &(*stateItr);
|
||||||
assert(state);
|
assert(state);
|
||||||
|
@ -382,7 +382,7 @@ void PhysicalEntitySimulation::sendOwnershipBids(uint32_t numSubsteps) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhysicalEntitySimulation::sendOwnedUpdates(uint32_t numSubsteps) {
|
void PhysicalEntitySimulation::sendOwnedUpdates(uint32_t numSubsteps) {
|
||||||
boolean serverlessMode = getEntityTree()->isServerlessMode();
|
bool serverlessMode = getEntityTree()->isServerlessMode();
|
||||||
PROFILE_RANGE_EX(simulation_physics, "Update", 0x00000000, (uint64_t)_owned.size());
|
PROFILE_RANGE_EX(simulation_physics, "Update", 0x00000000, (uint64_t)_owned.size());
|
||||||
uint32_t i = 0;
|
uint32_t i = 0;
|
||||||
while (i < _owned.size()) {
|
while (i < _owned.size()) {
|
||||||
|
|
Loading…
Reference in a new issue