mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 23:17:08 +02:00
don't need temp variable
This commit is contained in:
parent
79cb55eabc
commit
f09a67af6c
1 changed files with 1 additions and 3 deletions
|
@ -189,9 +189,7 @@ float EntityMotionState::computeMass(const ShapeInfo& shapeInfo) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EntityMotionState::shouldSendUpdate(uint32_t simulationFrame) {
|
bool EntityMotionState::shouldSendUpdate(uint32_t simulationFrame) {
|
||||||
bool baseResult = this->ObjectMotionState::shouldSendUpdate(simulationFrame);
|
if (!ObjectMotionState::shouldSendUpdate(simulationFrame)) {
|
||||||
|
|
||||||
if (!baseResult) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue